Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.0009111/0.0009108, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 208 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.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.733/1.733, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005451/0.0005451, allocations: 12.53 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2582, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01151/0.2697, allocations: 9.713 MB / 0.7969 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.2836, allocations: 8.245 MB / 0.8049 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.2856, allocations: 55.62 kB / 0.805 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.2867, allocations: 265.8 kB / 0.8053 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.2912, allocations: 1.264 MB / 0.8065 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.2928, allocations: 471 kB / 0.8069 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003653/0.2965, allocations: 2.453 MB / 0.8093 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003492/0.3, allocations: 1.786 MB / 0.8111 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.3019, allocations: 0.7857 MB / 0.8118 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.3033, allocations: 0.9027 MB / 0.8127 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.3034, allocations: 60 kB / 0.8128 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3048, allocations: 463.4 kB / 0.8132 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.3053, allocations: 482.4 kB / 0.8137 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.3058, allocations: 340.8 kB / 0.814 GB, free: 464 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.3079, allocations: 1.948 MB / 0.8159 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.308, allocations: 0 / 0.8159 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.625e-06/0.308, allocations: 0 / 0.8159 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.66e-05/0.308, allocations: 8 kB / 0.8159 GB, free: 14.49 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002955/0.311, allocations: 1.73 MB / 0.8176 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.311, allocations: 12.03 kB / 0.8176 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.3113, allocations: 185.9 kB / 0.8178 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009789/0.3211, allocations: 2.116 MB / 0.8199 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.3235, allocations: 1.083 MB / 0.8209 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.3236, allocations: 82.31 kB / 0.821 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.3238, allocations: 120 kB / 0.8211 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/0.3292, allocations: 2.498 MB / 0.8236 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.3292, allocations: 15.83 kB / 0.8236 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.3294, allocations: 51.98 kB / 0.8236 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.3297, allocations: 126.1 kB / 0.8237 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00645/0.3362, allocations: 2.584 MB / 0.8263 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.3497, allocations: 10.11 MB / 0.8361 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005394/0.3551, allocations: 1.999 MB / 0.8381 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.3575, allocations: 0.9894 MB / 0.839 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.3576, allocations: 8.375 kB / 0.8391 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.3576, allocations: 39 kB / 0.8391 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.3576, allocations: 0 / 0.8391 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02834/0.386, allocations: 8.769 MB / 0.8477 GB, free: 12.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3861, allocations: 60.06 kB / 0.8477 GB, free: 12.86 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.3879, allocations: 1.089 MB / 0.8488 GB, free: 11.76 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.3881, allocations: 41.7 kB / 0.8488 GB, free: 11.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000666/0.3887, allocations: 0.738 MB / 0.8495 GB, free: 10.96 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.3891, allocations: 279.9 kB / 0.8498 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.3892, allocations: 20 kB / 0.8498 GB, free: 10.67 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3894, allocations: 349.9 kB / 0.8502 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.392, allocations: 1.091 MB / 0.8512 GB, free: 9.227 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.3948, allocations: 1.325 MB / 0.8525 GB, free: 7.805 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.3975, allocations: 1.139 MB / 0.8536 GB, free: 6.668 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.3975, allocations: 4 kB / 0.8536 GB, free: 6.664 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00794/0.4055, allocations: 3.308 MB / 0.8569 GB, free: 3.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4055, allocations: 12.16 kB / 0.8569 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4055, allocations: 8 kB / 0.8569 GB, free: 3.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.4081, allocations: 0.7833 MB / 0.8576 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.4099, allocations: 431.2 kB / 0.8581 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.4255, allocations: 14.68 MB / 0.8724 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.4279, allocations: 307.6 kB / 0.8727 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.4281, allocations: 47.97 kB / 0.8727 GB, free: 1.973 MB / 0.6856 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%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.4293, allocations: 397.9 kB / 0.8731 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.4297, allocations: 142.3 kB / 0.8732 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/0.4382, allocations: 3.242 MB / 0.8764 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.4383, allocations: 11.95 kB / 0.8764 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/0.4383, allocations: 8 kB / 0.8764 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4383, allocations: 3.984 kB / 0.8764 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.4504, allocations: 4.936 MB / 0.8813 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.4504, allocations: 4 kB / 0.8813 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.452, allocations: 367.3 kB / 0.8816 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.4542, allocations: 0.6981 MB / 0.8823 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4543, allocations: 35.95 kB / 0.8823 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.4697, allocations: 14.32 MB / 0.8963 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.4698, allocations: 3.938 kB / 0.8963 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008021/0.4778, allocations: 3.077 MB / 0.8993 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008515/0.4787, allocations: 379.2 kB / 0.8997 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.4791, allocations: 19.98 kB / 0.8997 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.4809, allocations: 303.5 kB / 0.9 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.4812, allocations: 72.5 kB / 0.9001 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.4813, allocations: 52.09 kB / 0.9001 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001229/0.4826, allocations: 0.7249 MB / 0.9008 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.458e-06/0.4826, allocations: 0 / 0.9008 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001826/0.4844, allocations: 435.9 kB / 0.9012 GB, free: 3.43 MB / 0.7169 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%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008103/0.4925, allocations: 3.642 MB / 0.9048 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008235/0.5008, allocations: 3.656 MB / 0.9084 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.5008, allocations: 0 / 0.9084 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00481/0.5057, allocations: 2.395 MB / 0.9107 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.5086, allocations: 493.2 kB / 0.9112 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4631/0.9717, allocations: 11.99 MB / 0.9229 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.9729, allocations: 1.394 MB / 0.9242 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001779/0.9747, allocations: 375.3 kB / 0.9246 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/0.9756, allocations: 0.5903 MB / 0.9252 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.9756, allocations: 4.062 kB / 0.9252 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06843/1.044, allocations: 40.29 MB / 0.9645 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/1.044, allocations: 214.5 kB / 0.9647 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.711, allocations: 0 / 0.9647 GB, free: 109.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: