Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009212/0.0009212, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005066/0.005066, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.355/1.355, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.634/1.634, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004976/0.0004977, allocations: 12.44 kB / 0.6744 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1977, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01362/0.2113, allocations: 13.31 MB / 0.801 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2238, allocations: 9.359 MB / 0.8101 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.225, allocations: 47.69 kB / 0.8102 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.2257, allocations: 277.8 kB / 0.8105 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.2296, allocations: 1.414 MB / 0.8118 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.2312, allocations: 0.7012 MB / 0.8125 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.2347, allocations: 3.168 MB / 0.8156 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.2379, allocations: 1.973 MB / 0.8175 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.2391, allocations: 0.8713 MB / 0.8184 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.2404, allocations: 1.058 MB / 0.8194 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.2406, allocations: 72 kB / 0.8195 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.242, allocations: 0.8538 MB / 0.8203 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.2425, allocations: 0.5177 MB / 0.8208 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.2432, allocations: 0.8447 MB / 0.8217 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.2456, allocations: 2.663 MB / 0.8243 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2456, allocations: 0 / 0.8243 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2457, allocations: 4 kB / 0.8243 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.2457, allocations: 4 kB / 0.8243 GB, free: 6.191 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.003143/0.2488, allocations: 1.808 MB / 0.826 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2489, allocations: 12.03 kB / 0.826 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.2491, allocations: 194.4 kB / 0.8262 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.2606, allocations: 2.152 MB / 0.8283 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.2631, allocations: 1.205 MB / 0.8295 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.2632, allocations: 90.73 kB / 0.8296 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.2635, allocations: 119.9 kB / 0.8297 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00567/0.2692, allocations: 2.706 MB / 0.8323 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.2692, allocations: 11.84 kB / 0.8324 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.2694, allocations: 55.98 kB / 0.8324 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006244/0.27, allocations: 182.1 kB / 0.8326 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007559/0.2776, allocations: 2.838 MB / 0.8354 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.2915, allocations: 10.57 MB / 0.8457 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.2984, allocations: 2.58 MB / 0.8482 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/0.3016, allocations: 1.303 MB / 0.8495 GB, free: 11.44 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.3017, allocations: 9 kB / 0.8495 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3017, allocations: 43.56 kB / 0.8495 GB, free: 11.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.394e-06/0.3017, allocations: 4 kB / 0.8495 GB, free: 11.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.0452/0.3469, allocations: 13.45 MB / 0.8627 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.347, allocations: 68.72 kB / 0.8627 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.3484, allocations: 1.117 MB / 0.8638 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.3486, allocations: 45.7 kB / 0.8639 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.3491, allocations: 0.7194 MB / 0.8646 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.3495, allocations: 453.4 kB / 0.865 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3497, allocations: 109.7 kB / 0.8651 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3498, allocations: 361.9 kB / 0.8654 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003276/0.3531, allocations: 1.358 MB / 0.8668 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003339/0.3564, allocations: 1.624 MB / 0.8684 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006745/0.3632, allocations: 3.037 MB / 0.8713 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3632, allocations: 4 kB / 0.8713 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01146/0.3747, allocations: 4.481 MB / 0.8757 GB, free: 36 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.3748, allocations: 8.875 kB / 0.8757 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3748, allocations: 7.938 kB / 0.8757 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00509/0.3799, allocations: 1.435 MB / 0.8771 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.382, allocations: 447.3 kB / 0.8775 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/0.4053, allocations: 24.57 MB / 0.9015 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.4079, allocations: 311.6 kB / 0.9018 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.408, allocations: 59.97 kB / 0.9019 GB, free: 3.426 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008058/0.4088, allocations: 440.7 kB / 0.9023 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.4091, allocations: 166 kB / 0.9025 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.4206, allocations: 4.496 MB / 0.9069 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4206, allocations: 15.98 kB / 0.9069 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.4207, allocations: 12 kB / 0.9069 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4207, allocations: 3.984 kB / 0.9069 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.435, allocations: 6.829 MB / 0.9136 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.435, allocations: 8.062 kB / 0.9136 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.4368, allocations: 387.3 kB / 0.9139 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004538/0.4414, allocations: 1.302 MB / 0.9152 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.4416, allocations: 39.97 kB / 0.9152 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3465/0.7881, allocations: 23.52 MB / 0.9382 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7881, allocations: 5.594 kB / 0.9382 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.7984, allocations: 4.246 MB / 0.9424 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/0.7992, allocations: 459.5 kB / 0.9428 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.7994, allocations: 24.53 kB / 0.9428 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/0.8015, allocations: 319.6 kB / 0.9431 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/0.802, allocations: 126.5 kB / 0.9433 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.8022, allocations: 47.66 kB / 0.9433 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009201/0.8031, allocations: 0.7515 MB / 0.944 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8031, allocations: 0 / 0.944 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001811/0.8049, allocations: 0.5746 MB / 0.9446 GB, free: 110.6 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/0.816, allocations: 4.833 MB / 0.9493 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01096/0.8269, allocations: 5.154 MB / 0.9543 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.827, allocations: 0.9688 kB / 0.9543 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006422/0.8334, allocations: 3.514 MB / 0.9578 GB, free: 104 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.8363, allocations: 0.5111 MB / 0.9583 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0384/0.8747, allocations: 21.08 MB / 0.9789 GB, free: 92.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/0.8757, allocations: 1.479 MB / 0.9803 GB, free: 91.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001647/0.8774, allocations: 426.3 kB / 0.9807 GB, free: 91.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/0.878, allocations: 0.6285 MB / 0.9813 GB, free: 90.6 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.878, allocations: 0 / 0.9813 GB, free: 90.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/0.9333, allocations: 49.05 MB / 1.029 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.9335, allocations: 236.3 kB / 1.029 GB, free: 42.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.645, allocations: 0 / 1.029 GB, free: 42.98 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)