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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 289.7 MB / 302.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001072, allocations: 185.1 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009142/0.0009143, allocations: 91.16 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.088e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2682, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7981/1.066, allocations: 180.8 MB / 1.156 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.067, allocations: 96.05 kB / 1.157 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1936/1.26, allocations: 77.67 MB / 1.232 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.272e-06/1.26, allocations: 0 / 1.232 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001894/1.261, allocations: 47.92 kB / 1.232 GB, free: 15.85 MB / 0.8073 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.004604/1.265, allocations: 1.539 MB / 1.234 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/1.265, allocations: 12.02 kB / 1.234 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006665/1.266, allocations: 177.9 kB / 1.234 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/1.277, allocations: 1.808 MB / 1.236 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/1.28, allocations: 1.145 MB / 1.237 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/1.281, allocations: 90.31 kB / 1.237 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/1.281, allocations: 119.9 kB / 1.237 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/1.285, allocations: 2.037 MB / 1.239 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/1.285, allocations: 11.94 kB / 1.239 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/1.285, allocations: 55.98 kB / 1.239 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-05/1.285, allocations: 74.2 kB / 1.239 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/1.288, allocations: 1.609 MB / 1.241 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/1.303, allocations: 10.2 MB / 1.251 GB, free: 12.03 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/1.305, allocations: 1.122 MB / 1.252 GB, free: 10.88 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/1.306, allocations: 0.6009 MB / 1.253 GB, free: 10.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/1.306, allocations: 4.438 kB / 1.253 GB, free: 10.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.306, allocations: 46.89 kB / 1.253 GB, free: 10.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 2.856e-06/1.306, allocations: 0 / 1.253 GB, free: 10.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.02201/1.328, allocations: 6.606 MB / 1.259 GB, free: 3.574 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.328, allocations: 214.4 kB / 1.259 GB, free: 3.316 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.33, allocations: 0.9436 MB / 1.26 GB, free: 2.359 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/1.33, allocations: 37.7 kB / 1.26 GB, free: 2.316 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/1.33, allocations: 0.7381 MB / 1.261 GB, free: 1.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/1.331, allocations: 284 kB / 1.261 GB, free: 1.289 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/1.331, allocations: 16 kB / 1.261 GB, free: 1.273 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.331, allocations: 341.9 kB / 1.262 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.332, allocations: 0.6969 MB / 1.262 GB, free: 240 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/1.333, allocations: 0.9341 MB / 1.263 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.334, allocations: 0.7438 MB / 1.264 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.334, allocations: 4 kB / 1.264 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005043/1.339, allocations: 2.491 MB / 1.266 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.34, allocations: 11.98 kB / 1.266 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.34, allocations: 7.953 kB / 1.266 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/1.343, allocations: 0.866 MB / 1.267 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.345, allocations: 427.2 kB / 1.268 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.36, allocations: 14.87 MB / 1.282 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.363, allocations: 307.5 kB / 1.282 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/1.364, allocations: 47.97 kB / 1.282 GB, free: 10.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(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.0004766/1.364, allocations: 168.1 kB / 1.283 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/1.365, allocations: 146.3 kB / 1.283 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/1.37, allocations: 2.46 MB / 1.285 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.37, allocations: 8 kB / 1.285 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/1.37, allocations: 8 kB / 1.285 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.37, allocations: 3.984 kB / 1.285 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008913/1.379, allocations: 4.236 MB / 1.289 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.379, allocations: 8.062 kB / 1.289 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.381, allocations: 355.4 kB / 1.29 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/1.384, allocations: 0.7839 MB / 1.29 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.384, allocations: 31.97 kB / 1.29 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.4, allocations: 14.49 MB / 1.305 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.4, allocations: 8.094 kB / 1.305 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/1.405, allocations: 2.466 MB / 1.307 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.406, allocations: 395.2 kB / 1.307 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/1.407, allocations: 16 kB / 1.307 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.409, allocations: 303.5 kB / 1.308 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/1.409, allocations: 84.56 kB / 1.308 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.41, allocations: 39.97 kB / 1.308 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001389/1.411, allocations: 0.7231 MB / 1.309 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/1.411, allocations: 4 kB / 1.309 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002108/1.413, allocations: 463.9 kB / 1.309 GB, free: 13.7 MB / 0.8855 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 () * 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,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005325/1.418, allocations: 3.796 MB / 1.313 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004845/1.423, allocations: 2.841 MB / 1.315 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.423, allocations: 4.125 kB / 1.315 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/1.426, allocations: 1.985 MB / 1.317 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.429, allocations: 487.3 kB / 1.318 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007714/1.436, allocations: 3.043 MB / 1.321 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.438, allocations: 1.419 MB / 1.322 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001653/1.439, allocations: 371.9 kB / 1.323 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/1.44, allocations: 0.6007 MB / 1.323 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of SimCode: time 8.21e-07/1.44, allocations: 0 / 1.323 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0725/1.513, allocations: 41.24 MB / 1.363 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.513, allocations: 173.3 kB / 1.364 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.61, allocations: 4 kB / 1.364 GB, free: 5.66 MB / 0.9323 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)