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.0007151/0.0007151, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00444/0.00444, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.362/1.362, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.586/1.586, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005061/0.0005061, allocations: 15.25 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004644/0.2435, allocations: 3.942 MB / 0.7919 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2469, allocations: 2.398 MB / 0.7942 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2472, allocations: 15.88 kB / 0.7942 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.2474, allocations: 67.42 kB / 0.7943 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.2481, allocations: 350.4 kB / 0.7946 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.2487, allocations: 298.6 kB / 0.7949 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.2495, allocations: 0.866 MB / 0.7957 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007388/0.2503, allocations: 447.1 kB / 0.7962 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.2505, allocations: 219 kB / 0.7964 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.2509, allocations: 262.9 kB / 0.7966 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.2509, allocations: 20 kB / 0.7966 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006817/0.2516, allocations: 0.5301 MB / 0.7972 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.2518, allocations: 131.5 kB / 0.7973 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.252, allocations: 248.4 kB / 0.7975 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.2527, allocations: 0.7395 MB / 0.7982 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2527, allocations: 0 / 0.7982 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2527, allocations: 4 kB / 0.7982 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.2527, allocations: 0 / 0.7982 GB, free: 0.9023 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.0009033/0.2536, allocations: 0.7054 MB / 0.7989 GB, free: 148 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2536, allocations: 8.031 kB / 0.7989 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/0.2537, allocations: 74.7 kB / 0.799 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.255, allocations: 188.1 kB / 0.7992 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.2554, allocations: 400.5 kB / 0.7996 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2555, allocations: 29.36 kB / 0.7996 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.2555, allocations: 36.36 kB / 0.7996 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008376/0.2564, allocations: 0.6585 MB / 0.8003 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2564, allocations: 4 kB / 0.8003 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.2565, allocations: 19.98 kB / 0.8003 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.786e-05/0.2565, allocations: 55.95 kB / 0.8004 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.2572, allocations: 0.4904 MB / 0.8008 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.2603, allocations: 3.782 MB / 0.8045 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.2619, allocations: 0.6328 MB / 0.8051 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.2622, allocations: 182.4 kB / 0.8053 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2622, allocations: 4 kB / 0.8053 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2623, allocations: 42.5 kB / 0.8054 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.2623, allocations: 0 / 0.8054 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002096/0.2644, allocations: 1.277 MB / 0.8066 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.2644, allocations: 110.8 kB / 0.8067 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.2648, allocations: 405.7 kB / 0.8071 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.2648, allocations: 29.7 kB / 0.8071 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.265, allocations: 275.5 kB / 0.8074 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.2651, allocations: 122.3 kB / 0.8075 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.2652, allocations: 49.69 kB / 0.8076 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2653, allocations: 358.8 kB / 0.8079 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.2656, allocations: 173 kB / 0.8081 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.2659, allocations: 375.2 kB / 0.8084 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.2666, allocations: 0.5912 MB / 0.809 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2666, allocations: 0 / 0.809 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009563/0.2676, allocations: 0.6793 MB / 0.8097 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2676, allocations: 8 kB / 0.8097 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.2676, allocations: 4 kB / 0.8097 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.2679, allocations: 106.4 kB / 0.8098 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.2683, allocations: 119.7 kB / 0.8099 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.2713, allocations: 4.029 MB / 0.8138 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.2716, allocations: 35.91 kB / 0.8139 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.2716, allocations: 24 kB / 0.8139 GB, free: 15.64 MB / 0.6387 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.0002258/0.2719, allocations: 189.6 kB / 0.8141 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.272, allocations: 55.53 kB / 0.8141 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008442/0.2728, allocations: 0.5146 MB / 0.8146 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2729, allocations: 4 kB / 0.8146 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2729, allocations: 0 / 0.8146 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2729, allocations: 7.984 kB / 0.8146 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2745, allocations: 1.276 MB / 0.8159 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2745, allocations: 8.031 kB / 0.8159 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.2748, allocations: 71.89 kB / 0.816 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.275, allocations: 86.5 kB / 0.816 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.275, allocations: 8 kB / 0.816 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.278, allocations: 4.04 MB / 0.82 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.278, allocations: 4 kB / 0.82 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009536/0.279, allocations: 0.7821 MB / 0.8208 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.2791, allocations: 152.5 kB / 0.8209 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.2792, allocations: 19.92 kB / 0.8209 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.2795, allocations: 24.27 kB / 0.8209 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.2796, allocations: 35.89 kB / 0.821 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.2796, allocations: 12 kB / 0.821 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000292/0.2799, allocations: 287.1 kB / 0.8213 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2799, allocations: 0 / 0.8213 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006161/0.2805, allocations: 123.9 kB / 0.8214 GB, free: 7.363 MB / 0.6387 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.001053/0.2816, allocations: 1.33 MB / 0.8227 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.2827, allocations: 0.8014 MB / 0.8235 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2827, allocations: 0 / 0.8235 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.2834, allocations: 0.5437 MB / 0.824 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2845, allocations: 126.4 kB / 0.8241 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.2899, allocations: 4.762 MB / 0.8288 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.2904, allocations: 0.8625 MB / 0.8296 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.2906, allocations: 104.8 kB / 0.8297 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.2909, allocations: 159.3 kB / 0.8299 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.314e-06/0.2909, allocations: 0 / 0.8299 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4135/0.7044, allocations: 9.39 MB / 0.839 GB, free: 5 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.7046, allocations: 239.4 kB / 0.8393 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.661, allocations: 0 / 0.8393 GB, free: 4.738 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)