Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, allocations: 409.4 MB / 0.684 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.00038, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8206, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004867/0.8256, allocations: 3.684 MB / 0.9847 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004554/0.8302, allocations: 2.479 MB / 0.9872 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.8306, allocations: 7.938 kB / 0.9872 GB, free: 52 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.831, allocations: 67.5 kB / 0.9872 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.8321, allocations: 298.6 kB / 0.9875 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.8334, allocations: 414 kB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.8344, allocations: 0.7983 MB / 0.9887 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009272/0.8354, allocations: 0.4992 MB / 0.9892 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.8357, allocations: 215.2 kB / 0.9894 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.8363, allocations: 318.9 kB / 0.9897 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.8363, allocations: 20 kB / 0.9897 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.8367, allocations: 143.8 kB / 0.9898 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.8369, allocations: 175.5 kB / 0.99 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.837, allocations: 109.4 kB / 0.9901 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.8376, allocations: 0.5282 MB / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8376, allocations: 4 kB / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8376, allocations: 0 / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.8376, allocations: 0 / 0.9906 GB, free: 12.46 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001245/0.8388, allocations: 0.721 MB / 0.9913 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.8389, allocations: 8.031 kB / 0.9913 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.839, allocations: 90.5 kB / 0.9914 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.8398, allocations: 143.2 kB / 0.9916 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.8403, allocations: 358 kB / 0.9919 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.8404, allocations: 32.94 kB / 0.9919 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.8405, allocations: 36 kB / 0.992 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.8417, allocations: 0.829 MB / 0.9928 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8417, allocations: 3.938 kB / 0.9928 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.8418, allocations: 23.98 kB / 0.9928 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.421e-05/0.8419, allocations: 64.61 kB / 0.9929 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.843, allocations: 0.6502 MB / 0.9935 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004252/0.8473, allocations: 4.635 MB / 0.998 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.8483, allocations: 0.497 MB / 0.9985 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.8487, allocations: 289.5 kB / 0.9988 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.8488, allocations: 4 kB / 0.9988 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.8488, allocations: 42.55 kB / 0.9988 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/0.8488, allocations: 3.938 kB / 0.9988 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.001792/0.8506, allocations: 0.8942 MB / 0.9997 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.8507, allocations: 81.11 kB / 0.9998 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.8511, allocations: 357.5 kB / 1 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.8512, allocations: 37.7 kB / 1 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.8514, allocations: 291 kB / 1 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.8515, allocations: 122.3 kB / 1.001 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.8515, allocations: 12 kB / 1.001 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8516, allocations: 346.8 kB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.8521, allocations: 257 kB / 1.001 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.8527, allocations: 486.5 kB / 1.002 GB, free: 476 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.8532, allocations: 319.8 kB / 1.002 GB, free: 156 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8532, allocations: 0 / 1.002 GB, free: 156 kB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001286/0.8545, allocations: 0.7859 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.8547, allocations: 305.5 kB / 1.003 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.8548, allocations: 8 kB / 1.003 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.8548, allocations: 12 kB / 1.003 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.8555, allocations: 171.7 kB / 1.003 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.8555, allocations: 12 kB / 1.003 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.8559, allocations: 67.78 kB / 1.003 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.856, allocations: 35.92 kB / 1.003 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.856, allocations: 4 kB / 1.003 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.8571, allocations: 0.6046 MB / 1.004 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.8571, allocations: 8 kB / 1.004 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.8571, allocations: 12 kB / 1.004 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.8576, allocations: 156.4 kB / 1.004 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8576, allocations: 11.94 kB / 1.004 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.858, allocations: 55.8 kB / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.858, allocations: 28 kB / 1.004 GB, free: 13.79 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003614/0.8584, allocations: 284.8 kB / 1.004 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-05/0.8585, allocations: 39.53 kB / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.8596, allocations: 0.5915 MB / 1.005 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.8597, allocations: 15.97 kB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8597, allocations: 4 kB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8597, allocations: 0 / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.8621, allocations: 1.617 MB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8621, allocations: 4 kB / 1.007 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.8626, allocations: 120.3 kB / 1.007 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.8627, allocations: 8 kB / 1.007 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.8627, allocations: 8 kB / 1.007 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.8627, allocations: 15.92 kB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8627, allocations: 4 kB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.8638, allocations: 0.8042 MB / 1.008 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.8641, allocations: 172.5 kB / 1.008 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.8641, allocations: 12 kB / 1.008 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.8645, allocations: 55.92 kB / 1.008 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.8646, allocations: 35.86 kB / 1.008 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.8646, allocations: 12 kB / 1.008 GB, free: 9.793 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002814/0.8649, allocations: 255.2 kB / 1.008 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.405e-06/0.8649, allocations: 0 / 1.008 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008999/0.8658, allocations: 191.9 kB / 1.008 GB, free: 9.359 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.8672, allocations: 1.366 MB / 1.01 GB, free: 7.922 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.8689, allocations: 0.9214 MB / 1.01 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8689, allocations: 0 / 1.01 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.8694, allocations: 279.9 kB / 1.011 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.8702, allocations: 111.3 kB / 1.011 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.8748, allocations: 3.013 MB / 1.014 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.8753, allocations: 0.8709 MB / 1.015 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006221/0.876, allocations: 200 kB / 1.015 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.8762, allocations: 147.3 kB / 1.015 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/0.8762, allocations: 0 / 1.015 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.9024, allocations: 9.293 MB / 1.024 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.9026, allocations: 208.2 kB / 1.024 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.928, allocations: 4 kB / 1.024 GB, free: 8.84 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat