Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0008048/0.0008048, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008425/0.0008425, allocations: 168.7 kB / 15.95 MB, free: 204 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.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.836/1.836, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005267/0.0005268, allocations: 21.25 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0137/0.3131, allocations: 13.22 MB / 0.8003 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3269, allocations: 9.702 MB / 0.8098 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.3286, allocations: 51.62 kB / 0.8098 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3296, allocations: 285.8 kB / 0.8101 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.3349, allocations: 1.456 MB / 0.8115 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.3367, allocations: 0.5161 MB / 0.812 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00437/0.3411, allocations: 2.895 MB / 0.8149 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.3445, allocations: 1.817 MB / 0.8167 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.3469, allocations: 1.285 MB / 0.8179 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.3487, allocations: 1.039 MB / 0.8189 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.3489, allocations: 71.94 kB / 0.819 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.3503, allocations: 443.4 kB / 0.8194 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005052/0.3508, allocations: 498.3 kB / 0.8199 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005477/0.3513, allocations: 352.8 kB / 0.8202 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.3537, allocations: 2.119 MB / 0.8223 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3538, allocations: 0 / 0.8223 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3538, allocations: 4 kB / 0.8223 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.117e-05/0.3538, allocations: 0 / 0.8223 GB, free: 7.953 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003286/0.3571, allocations: 1.859 MB / 0.8241 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3572, allocations: 12.03 kB / 0.8241 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002755/0.3574, allocations: 190.2 kB / 0.8243 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.3676, allocations: 2.178 MB / 0.8264 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.3706, allocations: 1.159 MB / 0.8276 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.3707, allocations: 86.31 kB / 0.8276 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.371, allocations: 116 kB / 0.8278 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005286/0.3763, allocations: 2.686 MB / 0.8304 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.3763, allocations: 11.84 kB / 0.8304 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.3765, allocations: 63.91 kB / 0.8305 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005292/0.377, allocations: 194.1 kB / 0.8306 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006587/0.3836, allocations: 2.834 MB / 0.8334 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.3973, allocations: 10.56 MB / 0.8437 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005683/0.4031, allocations: 2.383 MB / 0.846 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.4058, allocations: 1.31 MB / 0.8473 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/0.4059, allocations: 9 kB / 0.8473 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.406, allocations: 47.56 kB / 0.8474 GB, free: 13.35 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.406, allocations: 0 / 0.8474 GB, free: 13.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05081/0.4568, allocations: 16.5 MB / 0.8635 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4569, allocations: 68.72 kB / 0.8636 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.4586, allocations: 1.16 MB / 0.8647 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.4587, allocations: 53.7 kB / 0.8647 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.4593, allocations: 0.7398 MB / 0.8655 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005342/0.4598, allocations: 0.5159 MB / 0.866 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.46, allocations: 32 kB / 0.866 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4602, allocations: 365.9 kB / 0.8664 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/0.4633, allocations: 1.522 MB / 0.8678 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.4665, allocations: 1.792 MB / 0.8696 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.4697, allocations: 1.646 MB / 0.8712 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4697, allocations: 4 kB / 0.8712 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01179/0.4815, allocations: 5.293 MB / 0.8764 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4815, allocations: 11.98 kB / 0.8764 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.4816, allocations: 8 kB / 0.8764 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005935/0.4875, allocations: 1.886 MB / 0.8782 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.4893, allocations: 431.3 kB / 0.8786 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/0.5154, allocations: 22.13 MB / 0.9003 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.5179, allocations: 319.6 kB / 0.9006 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.5181, allocations: 67.97 kB / 0.9006 GB, free: 5.402 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008781/0.519, allocations: 473.4 kB / 0.9011 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5193, allocations: 177.9 kB / 0.9012 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.5315, allocations: 5.347 MB / 0.9065 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.5316, allocations: 12 kB / 0.9065 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/0.5316, allocations: 20 kB / 0.9065 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.5317, allocations: 8.062 kB / 0.9065 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.5472, allocations: 7.461 MB / 0.9138 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.5473, allocations: 4 kB / 0.9138 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.5488, allocations: 359.4 kB / 0.9141 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005401/0.5542, allocations: 1.703 MB / 0.9158 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.5544, allocations: 43.97 kB / 0.9158 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5517/1.106, allocations: 21.32 MB / 0.9367 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.106, allocations: 3.969 kB / 0.9367 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.117, allocations: 4.916 MB / 0.9415 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.118, allocations: 497.8 kB / 0.9419 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/1.119, allocations: 31.55 kB / 0.942 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.121, allocations: 329.8 kB / 0.9423 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006763/1.121, allocations: 150.2 kB / 0.9424 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.121, allocations: 53.89 kB / 0.9425 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00149/1.123, allocations: 0.7767 MB / 0.9432 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 0.5938 kB / 0.9432 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003077/1.126, allocations: 0.6545 MB / 0.9439 GB, free: 115.2 MB / 0.7325 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 (46): * Single equations (assignments): 38 * 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 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/1.14, allocations: 5.505 MB / 0.9493 GB, free: 112.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.151, allocations: 5.178 MB / 0.9543 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.151, allocations: 1.156 kB / 0.9543 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007405/1.158, allocations: 3.367 MB / 0.9576 GB, free: 109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.162, allocations: 0.5148 MB / 0.9581 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/1.191, allocations: 16.15 MB / 0.9739 GB, free: 100 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.192, allocations: 1.571 MB / 0.9754 GB, free: 98.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001785/1.194, allocations: 391.3 kB / 0.9758 GB, free: 98.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/1.195, allocations: 0.6619 MB / 0.9764 GB, free: 98.14 MB / 0.7325 GB Notification: Performance of SimCode: time 1.754e-06/1.195, allocations: 0 / 0.9764 GB, free: 98.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/1.27, allocations: 56.16 MB / 1.031 GB, free: 43.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.27, allocations: 229.4 kB / 1.031 GB, free: 43.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/4.844, allocations: 0 / 1.031 GB, free: 43.39 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: