Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.3 MB / 0.5489 GB, free: 13.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 72.83 kB / 0.6716 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2289, allocations: 114.5 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006326/0.2353, allocations: 4.289 MB / 0.7877 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.2397, allocations: 2.417 MB / 0.79 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.2401, allocations: 19.88 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.2413, allocations: 366.2 kB / 0.7904 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000936/0.2422, allocations: 366.2 kB / 0.7907 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.2431, allocations: 329.8 kB / 0.7911 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.2439, allocations: 0.675 MB / 0.7917 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.2443, allocations: 266.2 kB / 0.792 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.2446, allocations: 255 kB / 0.7922 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.245, allocations: 270.8 kB / 0.7925 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.245, allocations: 32 kB / 0.7925 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/0.2458, allocations: 435 kB / 0.7929 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.246, allocations: 143.5 kB / 0.7931 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.2462, allocations: 234.8 kB / 0.7933 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008097/0.247, allocations: 0.7242 MB / 0.794 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.247, allocations: 0 / 0.794 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.247, allocations: 3.938 kB / 0.794 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.247, allocations: 4 kB / 0.794 GB, free: 2.672 MB / 0.6075 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.001168/0.2482, allocations: 0.7792 MB / 0.7948 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2483, allocations: 12.03 kB / 0.7948 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.448e-05/0.2484, allocations: 78.69 kB / 0.7948 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.2497, allocations: 184.1 kB / 0.795 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.2503, allocations: 408.5 kB / 0.7954 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.2503, allocations: 25.36 kB / 0.7954 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.2504, allocations: 36.38 kB / 0.7955 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.2513, allocations: 0.6547 MB / 0.7961 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2514, allocations: 11.94 kB / 0.7961 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.2514, allocations: 15.98 kB / 0.7961 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.453e-05/0.2515, allocations: 51.95 kB / 0.7962 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.2522, allocations: 0.4948 MB / 0.7967 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.2554, allocations: 3.782 MB / 0.8004 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.2571, allocations: 0.6283 MB / 0.801 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.2574, allocations: 178.5 kB / 0.8011 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2574, allocations: 8 kB / 0.8012 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2574, allocations: 34.5 kB / 0.8012 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/0.2575, allocations: 0 / 0.8012 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002217/0.2597, allocations: 1.277 MB / 0.8024 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.2598, allocations: 114.8 kB / 0.8025 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.2602, allocations: 405.6 kB / 0.8029 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2602, allocations: 29.7 kB / 0.803 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.2604, allocations: 283.5 kB / 0.8032 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.2605, allocations: 110.4 kB / 0.8033 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.2607, allocations: 102.2 kB / 0.8034 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2608, allocations: 354.8 kB / 0.8038 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.2611, allocations: 181 kB / 0.8039 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.2615, allocations: 371.2 kB / 0.8043 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.2622, allocations: 0.5913 MB / 0.8049 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2622, allocations: 4 kB / 0.8049 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001062/0.2633, allocations: 0.6792 MB / 0.8055 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2633, allocations: 8 kB / 0.8055 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2634, allocations: 12.06 kB / 0.8056 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.2637, allocations: 94.44 kB / 0.8056 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.2641, allocations: 111.8 kB / 0.8058 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.2677, allocations: 4.348 MB / 0.81 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.2681, allocations: 31.97 kB / 0.81 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.2682, allocations: 24 kB / 0.8101 GB, free: 0.9648 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.2684, allocations: 200 kB / 0.8102 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.2686, allocations: 51.44 kB / 0.8103 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.2694, allocations: 0.5147 MB / 0.8108 GB, free: 184 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2694, allocations: 8 kB / 0.8108 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2694, allocations: 0 / 0.8108 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2694, allocations: 0 / 0.8108 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.2711, allocations: 1.292 MB / 0.8121 GB, free: 14.79 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2711, allocations: 4 kB / 0.8121 GB, free: 14.78 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.2713, allocations: 64.17 kB / 0.8121 GB, free: 14.72 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.2716, allocations: 86.52 kB / 0.8122 GB, free: 14.62 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2716, allocations: 8 kB / 0.8122 GB, free: 14.62 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.2746, allocations: 4.353 MB / 0.8165 GB, free: 9.84 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.2746, allocations: 4 kB / 0.8165 GB, free: 9.836 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.2755, allocations: 0.7825 MB / 0.8172 GB, free: 9 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.2757, allocations: 152.5 kB / 0.8174 GB, free: 8.832 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.2757, allocations: 8 kB / 0.8174 GB, free: 8.824 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.276, allocations: 27.97 kB / 0.8174 GB, free: 8.797 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.2761, allocations: 35.84 kB / 0.8175 GB, free: 8.762 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.2762, allocations: 12 kB / 0.8175 GB, free: 8.75 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0002908/0.2765, allocations: 279.1 kB / 0.8177 GB, free: 8.48 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2765, allocations: 0 / 0.8177 GB, free: 8.48 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0006413/0.2771, allocations: 120 kB / 0.8178 GB, free: 8.363 MB / 0.6388 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.2783, allocations: 1.33 MB / 0.8191 GB, free: 6.965 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.2795, allocations: 0.8248 MB / 0.82 GB, free: 6.102 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.2795, allocations: 0 / 0.82 GB, free: 6.102 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.2802, allocations: 0.5479 MB / 0.8205 GB, free: 5.516 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.2811, allocations: 136.8 kB / 0.8206 GB, free: 5.391 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.2864, allocations: 4.592 MB / 0.8251 GB, free: 476 kB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.2869, allocations: 0.8547 MB / 0.8259 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.2873, allocations: 108.5 kB / 0.826 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.2875, allocations: 159.4 kB / 0.8262 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.2875, allocations: 0 / 0.8262 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.3348, allocations: 9.878 MB / 0.8358 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.553/9.888, allocations: 15.67 kB / 0.8359 GB, free: 5.605 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)