Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.0009242/0.0009242, allocations: 97.64 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.006173/0.006173, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.322/1.322, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.626/1.626, 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.0004777/0.0004778, allocations: 11.91 kB / 0.6744 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1983, 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_L): time 0.007022/0.2053, allocations: 5.719 MB / 0.7936 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.2106, allocations: 3.209 MB / 0.7967 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.2112, allocations: 23.81 kB / 0.7967 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.2116, allocations: 122.9 kB / 0.7969 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2127, allocations: 442 kB / 0.7973 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2139, allocations: 455.1 kB / 0.7977 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.2154, allocations: 1.467 MB / 0.7991 GB, free: 44 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.2172, allocations: 0.9993 MB / 0.8001 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.2178, allocations: 358.3 kB / 0.8005 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007443/0.2186, allocations: 446.2 kB / 0.8009 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2187, allocations: 36 kB / 0.8009 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.2198, allocations: 0.573 MB / 0.8015 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.22, allocations: 255.2 kB / 0.8017 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.2205, allocations: 383.7 kB / 0.8021 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2218, allocations: 1.168 MB / 0.8032 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2219, allocations: 0 / 0.8032 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2219, allocations: 0 / 0.8032 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.2219, allocations: 0 / 0.8032 GB, free: 11.82 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001564/0.2235, allocations: 0.9233 MB / 0.8041 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2235, allocations: 8.031 kB / 0.8041 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.2237, allocations: 118.7 kB / 0.8043 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.2252, allocations: 215.7 kB / 0.8045 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.226, allocations: 0.5414 MB / 0.805 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.226, allocations: 49.67 kB / 0.805 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2262, allocations: 68.27 kB / 0.8051 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2276, allocations: 1.034 MB / 0.8061 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.2276, allocations: 7.938 kB / 0.8061 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.2277, allocations: 35.98 kB / 0.8062 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.2278, allocations: 65.27 kB / 0.8062 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2289, allocations: 0.6957 MB / 0.8069 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.2342, allocations: 5.76 MB / 0.8125 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.2351, allocations: 0.6064 MB / 0.8131 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.2359, allocations: 412.6 kB / 0.8135 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.2359, allocations: 4 kB / 0.8135 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.236, allocations: 38.56 kB / 0.8135 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.236, allocations: 0 / 0.8135 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00454/0.2405, allocations: 2.07 MB / 0.8156 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.2406, allocations: 59.34 kB / 0.8156 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.2411, allocations: 462.8 kB / 0.8161 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2412, allocations: 37.7 kB / 0.8161 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.2414, allocations: 391 kB / 0.8165 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2416, allocations: 153.8 kB / 0.8166 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.2417, allocations: 49.69 kB / 0.8167 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2419, allocations: 362.8 kB / 0.817 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.2423, allocations: 245.2 kB / 0.8173 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.2428, allocations: 468.9 kB / 0.8177 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2439, allocations: 0.7481 MB / 0.8184 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2439, allocations: 4 kB / 0.8184 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001931/0.2459, allocations: 1.069 MB / 0.8195 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2459, allocations: 8.875 kB / 0.8195 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2459, allocations: 4 kB / 0.8195 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.247, allocations: 339 kB / 0.8198 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.2474, allocations: 99.81 kB / 0.8199 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007014/0.2544, allocations: 6.942 MB / 0.8267 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.2548, allocations: 32.02 kB / 0.8267 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.2549, allocations: 28 kB / 0.8267 GB, free: 2.141 MB / 0.6387 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.2552, allocations: 247.2 kB / 0.827 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.2553, allocations: 59.34 kB / 0.827 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.257, allocations: 0.9121 MB / 0.8279 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.257, allocations: 4 kB / 0.8279 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.257, allocations: 4 kB / 0.8279 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.257, allocations: 3.938 kB / 0.8279 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.2596, allocations: 1.716 MB / 0.8296 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2596, allocations: 4 kB / 0.8296 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2598, allocations: 44.31 kB / 0.8297 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000914/0.2607, allocations: 331.2 kB / 0.83 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.2607, allocations: 11.98 kB / 0.83 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006279/0.267, allocations: 6.939 MB / 0.8368 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.267, allocations: 0 / 0.8368 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2686, allocations: 1.011 MB / 0.8378 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.2688, allocations: 176.4 kB / 0.8379 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.2689, allocations: 4 kB / 0.8379 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2692, allocations: 23.98 kB / 0.8379 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.2693, allocations: 43.81 kB / 0.838 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2693, allocations: 16 kB / 0.838 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003144/0.2696, allocations: 310.9 kB / 0.8383 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2696, allocations: 4 kB / 0.8383 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006737/0.2703, allocations: 196 kB / 0.8385 GB, free: 5.383 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.2722, allocations: 1.56 MB / 0.84 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.2739, allocations: 1.214 MB / 0.8412 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.2739, allocations: 7.938 kB / 0.8412 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.2751, allocations: 0.8582 MB / 0.842 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2761, allocations: 193.1 kB / 0.8422 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.284, allocations: 6.306 MB / 0.8484 GB, free: 10.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.2846, allocations: 0.9882 MB / 0.8494 GB, free: 9.746 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000293/0.2849, allocations: 105.3 kB / 0.8495 GB, free: 9.641 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.2852, allocations: 227.4 kB / 0.8497 GB, free: 9.418 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.2852, allocations: 0 / 0.8497 GB, free: 9.418 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.3142, allocations: 14.56 MB / 0.8639 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.3145, allocations: 238.8 kB / 0.8641 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.22, allocations: 0 / 0.8641 GB, free: 10.91 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)