Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 184.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009144, allocations: 97.62 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.78e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.321, allocations: 165.3 MB / 1.374 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.321, allocations: 89.97 kB / 1.374 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0672/1.388, allocations: 30.18 MB / 1.403 GB, free: 22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.388, allocations: 0 / 1.403 GB, free: 22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.077e-05/1.389, allocations: 12 kB / 1.403 GB, free: 21.99 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001257/1.39, allocations: 0.6805 MB / 1.404 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.39, allocations: 8.031 kB / 1.404 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/1.391, allocations: 183.1 kB / 1.404 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/1.392, allocations: 397.2 kB / 1.405 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/1.392, allocations: 8 kB / 1.405 GB, free: 20.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/1.392, allocations: 23.94 kB / 1.405 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005063/1.393, allocations: 352.9 kB / 1.405 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/1.393, allocations: 0.6436 MB / 1.406 GB, free: 19.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.393, allocations: 7.938 kB / 1.406 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/1.394, allocations: 7.953 kB / 1.406 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/1.394, allocations: 47.84 kB / 1.406 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/1.396, allocations: 3.697 MB / 1.409 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.398, allocations: 0.6654 MB / 1.41 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/1.399, allocations: 164.5 kB / 1.41 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/1.399, allocations: 7.312 kB / 1.41 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/1.399, allocations: 34.55 kB / 1.41 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 2.545e-06/1.399, allocations: 0 / 1.41 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001408/1.4, allocations: 0.7959 MB / 1.411 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.4, allocations: 106.8 kB / 1.411 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/1.4, allocations: 302.9 kB / 1.411 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/1.4, allocations: 25.7 kB / 1.411 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.4, allocations: 278.1 kB / 1.412 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/1.401, allocations: 113.9 kB / 1.412 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/1.401, allocations: 0 / 1.412 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.401, allocations: 354.8 kB / 1.412 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.401, allocations: 160.5 kB / 1.412 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/1.401, allocations: 334.5 kB / 1.413 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/1.401, allocations: 210 kB / 1.413 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.401, allocations: 4 kB / 1.413 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009496/1.402, allocations: 0.5831 MB / 1.413 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.402, allocations: 11.95 kB / 1.413 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.402, allocations: 8.719 kB / 1.413 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/1.403, allocations: 94.25 kB / 1.413 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/1.403, allocations: 107.6 kB / 1.414 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/1.406, allocations: 3.863 MB / 1.417 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/1.407, allocations: 19.97 kB / 1.417 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/1.407, allocations: 23.84 kB / 1.417 GB, free: 8.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.407, allocations: 120.5 kB / 1.417 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007513/1.408, allocations: 448.6 kB / 1.418 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.408, allocations: 51.53 kB / 1.418 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008178/1.409, allocations: 492.6 kB / 1.418 GB, free: 7.316 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.409, allocations: 4 kB / 1.418 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.409, allocations: 4 kB / 1.418 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.409, allocations: 0 / 1.418 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/1.411, allocations: 1.179 MB / 1.42 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.411, allocations: 15.97 kB / 1.42 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/1.411, allocations: 63.03 kB / 1.42 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/1.411, allocations: 87.88 kB / 1.42 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/1.411, allocations: 4 kB / 1.42 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/1.414, allocations: 3.864 MB / 1.424 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.414, allocations: 7.938 kB / 1.424 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000968/1.415, allocations: 0.8727 MB / 1.424 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/1.415, allocations: 155.8 kB / 1.425 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/1.415, allocations: 8 kB / 1.425 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/1.416, allocations: 15.97 kB / 1.425 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/1.416, allocations: 31.73 kB / 1.425 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/1.416, allocations: 15.88 kB / 1.425 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002348/1.416, allocations: 236.1 kB / 1.425 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.21e-07/1.416, allocations: 0 / 1.425 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007596/1.417, allocations: 108 kB / 1.425 GB, free: 0.6328 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/1.418, allocations: 2.18 MB / 1.427 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001377/1.42, allocations: 0.7412 MB / 1.428 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.42, allocations: 0 / 1.428 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/1.42, allocations: 0.5155 MB / 1.428 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/1.421, allocations: 103.5 kB / 1.428 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/1.424, allocations: 0.7386 MB / 1.429 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/1.424, allocations: 0.873 MB / 1.43 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003843/1.425, allocations: 100.3 kB / 1.43 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.425, allocations: 150.4 kB / 1.43 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/1.425, allocations: 0 / 1.43 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/1.458, allocations: 8.405 MB / 1.438 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/1.458, allocations: 159.4 kB / 1.439 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.697, allocations: 4 kB / 1.439 GB, free: 2.926 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat