Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.0009001/0.0009002, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009644/0.0009645, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 2.068/2.068, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005648/0.0005649, allocations: 17.84 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.315, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01709/0.3322, allocations: 9.628 MB / 0.7966 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.3458, allocations: 5.404 MB / 0.8019 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.3479, allocations: 39.69 kB / 0.802 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009297/0.3488, allocations: 226.4 kB / 0.8022 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.3532, allocations: 0.8411 MB / 0.803 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.3568, allocations: 0.5954 MB / 0.8036 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004584/0.3614, allocations: 1.264 MB / 0.8048 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00758/0.369, allocations: 2.164 MB / 0.8069 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.3713, allocations: 0.611 MB / 0.8075 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.3736, allocations: 0.6536 MB / 0.8082 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.3742, allocations: 60 kB / 0.8082 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.377, allocations: 0.507 MB / 0.8087 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.3781, allocations: 422.7 kB / 0.8091 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009006/0.379, allocations: 292.9 kB / 0.8094 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004291/0.3833, allocations: 1.722 MB / 0.8111 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3834, allocations: 0 / 0.8111 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.098e-06/0.3834, allocations: 0 / 0.8111 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.603e-05/0.3835, allocations: 0 / 0.8111 GB, free: 3.332 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004846/0.3883, allocations: 1.599 MB / 0.8126 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.3884, allocations: 8.031 kB / 0.8126 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004489/0.3889, allocations: 207.2 kB / 0.8128 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008837/0.3977, allocations: 0.6885 MB / 0.8135 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.4016, allocations: 0.8828 MB / 0.8144 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.4019, allocations: 90.53 kB / 0.8145 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007808/0.4027, allocations: 128 kB / 0.8146 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006595/0.4093, allocations: 2.187 MB / 0.8167 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.325e-05/0.4094, allocations: 15.88 kB / 0.8167 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.4097, allocations: 59.97 kB / 0.8168 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.4101, allocations: 166.2 kB / 0.817 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/0.4151, allocations: 1.863 MB / 0.8188 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02176/0.4369, allocations: 12.48 MB / 0.831 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00666/0.4436, allocations: 1.964 MB / 0.8329 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.444, allocations: 98.08 kB / 0.833 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.4441, allocations: 43.56 kB / 0.833 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 8.756e-06/0.4441, allocations: 4 kB / 0.833 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.009555/0.4536, allocations: 3.71 MB / 0.8366 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.4538, allocations: 68.41 kB / 0.8367 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.4555, allocations: 0.9048 MB / 0.8376 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.4557, allocations: 45.7 kB / 0.8376 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/0.4564, allocations: 0.7198 MB / 0.8383 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.4569, allocations: 398.4 kB / 0.8387 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4571, allocations: 28 kB / 0.8387 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.4573, allocations: 369.9 kB / 0.8391 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.4589, allocations: 0.609 MB / 0.8397 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.4611, allocations: 1.102 MB / 0.8408 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.4632, allocations: 0.7641 MB / 0.8415 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.4632, allocations: 4 kB / 0.8415 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007022/0.4702, allocations: 2.084 MB / 0.8435 GB, free: 276 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/0.4704, allocations: 12.97 kB / 0.8436 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/0.4705, allocations: 16 kB / 0.8436 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.4722, allocations: 266.6 kB / 0.8438 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/0.4749, allocations: 371.4 kB / 0.8442 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.4889, allocations: 10.81 MB / 0.8547 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.4918, allocations: 131.8 kB / 0.8549 GB, free: 3.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/0.4922, allocations: 71.94 kB / 0.8549 GB, free: 3.523 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.4936, allocations: 401.4 kB / 0.8553 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.4941, allocations: 134.3 kB / 0.8554 GB, free: 2.988 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.4992, allocations: 1.677 MB / 0.8571 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.4992, allocations: 12 kB / 0.8571 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4993, allocations: 3.984 kB / 0.8571 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.4993, allocations: 7.984 kB / 0.8571 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.5094, allocations: 3.284 MB / 0.8603 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/0.5095, allocations: 8 kB / 0.8603 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.5113, allocations: 219.6 kB / 0.8605 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.5126, allocations: 242.9 kB / 0.8608 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.5128, allocations: 31.98 kB / 0.8608 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.5248, allocations: 10.81 MB / 0.8713 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.5249, allocations: 16.12 kB / 0.8714 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.5295, allocations: 2.074 MB / 0.8734 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.5307, allocations: 323.3 kB / 0.8737 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.531, allocations: 24 kB / 0.8737 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5322, allocations: 87.88 kB / 0.8738 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.5325, allocations: 100.7 kB / 0.8739 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.5326, allocations: 39.98 kB / 0.8739 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001334/0.534, allocations: 0.606 MB / 0.8745 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/0.534, allocations: 0 / 0.8745 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002748/0.5367, allocations: 388 kB / 0.8749 GB, free: 13.54 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.00554/0.5423, allocations: 4.147 MB / 0.8789 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006506/0.5489, allocations: 2.484 MB / 0.8814 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.5489, allocations: 0 / 0.8814 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004827/0.5538, allocations: 1.63 MB / 0.883 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.5562, allocations: 323.1 kB / 0.8833 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/0.5793, allocations: 19.06 MB / 0.9019 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.5804, allocations: 1.36 MB / 0.9032 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001136/0.5815, allocations: 355.3 kB / 0.9036 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/0.5822, allocations: 0.5149 MB / 0.9041 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.223e-06/0.5822, allocations: 4 kB / 0.9041 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6366/1.219, allocations: 26.71 MB / 0.9301 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.219, allocations: 227.5 kB / 0.9304 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3/4.219, allocations: 3.938 kB / 0.9304 GB, free: 124.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: