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.0009824/0.0009824, allocations: 99.55 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.0009673/0.0009672, allocations: 177.3 kB / 15.94 MB, free: 228 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.451/1.451, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.703/1.703, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005838/0.0005839, allocations: 14 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2833, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0109/0.2942, allocations: 9.239 MB / 0.7963 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3063, allocations: 8.036 MB / 0.8041 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.308, allocations: 51.62 kB / 0.8042 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009189/0.3089, allocations: 254.3 kB / 0.8044 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.3133, allocations: 1.268 MB / 0.8056 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.315, allocations: 467 kB / 0.8061 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.3174, allocations: 1.398 MB / 0.8074 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.3206, allocations: 1.775 MB / 0.8092 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.322, allocations: 0.7161 MB / 0.8099 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.3231, allocations: 0.7353 MB / 0.8106 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3233, allocations: 60 kB / 0.8107 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.3244, allocations: 411.4 kB / 0.811 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.3248, allocations: 442.6 kB / 0.8115 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.3252, allocations: 336.8 kB / 0.8118 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.3273, allocations: 1.917 MB / 0.8137 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3273, allocations: 0 / 0.8137 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3274, allocations: 0 / 0.8137 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.163e-05/0.3274, allocations: 0 / 0.8137 GB, free: 0.6953 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003374/0.3308, allocations: 1.726 MB / 0.8154 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3308, allocations: 8.031 kB / 0.8154 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002562/0.3311, allocations: 193.8 kB / 0.8155 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/0.3435, allocations: 2.12 MB / 0.8176 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/0.3473, allocations: 1.072 MB / 0.8187 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3475, allocations: 90.25 kB / 0.8187 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/0.3479, allocations: 112 kB / 0.8189 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009424/0.3573, allocations: 2.482 MB / 0.8213 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/0.3574, allocations: 19.84 kB / 0.8213 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.3577, allocations: 48 kB / 0.8213 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005944/0.3583, allocations: 130.1 kB / 0.8215 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.3711, allocations: 2.584 MB / 0.824 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/0.394, allocations: 10.12 MB / 0.8339 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.405, allocations: 1.999 MB / 0.8358 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.089e-05/0.4051, allocations: 8.438 kB / 0.8358 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.4052, allocations: 39 kB / 0.8359 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 3.576e-06/0.4052, allocations: 4 kB / 0.8359 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03949/0.4447, allocations: 8.762 MB / 0.8444 GB, free: 144 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4448, allocations: 60.06 kB / 0.8445 GB, free: 72 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.4465, allocations: 1.081 MB / 0.8455 GB, free: 14.97 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.4467, allocations: 45.7 kB / 0.8456 GB, free: 14.92 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/0.4473, allocations: 0.7379 MB / 0.8463 GB, free: 14.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.4476, allocations: 279.9 kB / 0.8466 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.4476, allocations: 20 kB / 0.8466 GB, free: 13.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4478, allocations: 349.9 kB / 0.8469 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/0.4508, allocations: 1.087 MB / 0.848 GB, free: 12.44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.4539, allocations: 1.321 MB / 0.8493 GB, free: 11.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/0.4571, allocations: 1.143 MB / 0.8504 GB, free: 9.883 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4571, allocations: 11.94 kB / 0.8504 GB, free: 9.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009144/0.4663, allocations: 3.308 MB / 0.8536 GB, free: 6.527 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.4663, allocations: 8 kB / 0.8536 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4664, allocations: 8 kB / 0.8536 GB, free: 6.512 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/0.4691, allocations: 0.7872 MB / 0.8544 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.4712, allocations: 423.3 kB / 0.8548 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.4869, allocations: 14.97 MB / 0.8694 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.4895, allocations: 303.6 kB / 0.8697 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.4897, allocations: 51.97 kB / 0.8698 GB, free: 4.898 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.0008713/0.4905, allocations: 390.3 kB / 0.8701 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.4908, allocations: 146.3 kB / 0.8703 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008802/0.4996, allocations: 3.242 MB / 0.8735 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.4997, allocations: 11.95 kB / 0.8735 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.4997, allocations: 4 kB / 0.8735 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.4997, allocations: 7.984 kB / 0.8735 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.5114, allocations: 4.948 MB / 0.8783 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.5114, allocations: 15.86 kB / 0.8783 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.5131, allocations: 359.4 kB / 0.8787 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.5154, allocations: 0.7015 MB / 0.8794 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.5156, allocations: 31.97 kB / 0.8794 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.5313, allocations: 14.61 MB / 0.8936 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5314, allocations: 3.938 kB / 0.8937 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008641/0.54, allocations: 3.221 MB / 0.8968 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.5412, allocations: 387.2 kB / 0.8972 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.5414, allocations: 23.98 kB / 0.8972 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/0.5433, allocations: 299.5 kB / 0.8975 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.5436, allocations: 80.5 kB / 0.8976 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-05/0.5437, allocations: 40.34 kB / 0.8976 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001095/0.5448, allocations: 0.7249 MB / 0.8983 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5448, allocations: 0 / 0.8983 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001688/0.5465, allocations: 436 kB / 0.8987 GB, free: 5.816 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.00899/0.5555, allocations: 4.531 MB / 0.9031 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009023/0.5646, allocations: 3.656 MB / 0.9067 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.5646, allocations: 0 / 0.9067 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005419/0.5701, allocations: 2.391 MB / 0.909 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.5725, allocations: 471.2 kB / 0.9095 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5507/1.123, allocations: 16.46 MB / 0.9256 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.125, allocations: 1.416 MB / 0.9269 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001792/1.126, allocations: 381.9 kB / 0.9273 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/1.127, allocations: 0.5903 MB / 0.9279 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/1.127, allocations: 3.562 kB / 0.9279 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07677/1.204, allocations: 40.26 MB / 0.9672 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.204, allocations: 203 kB / 0.9674 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/4.202, allocations: 0 / 0.9674 GB, free: 106.9 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: