Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001536/0.001536, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 205.1 MB / 222.4 MB, free: 4.434 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.649/1.649, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001423/0.001423, allocations: 67.61 kB / 0.6716 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1866, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007812/0.1945, allocations: 6.707 MB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004257/0.1988, allocations: 3.052 MB / 0.793 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.1991, allocations: 27.88 kB / 0.793 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.2013, allocations: 0.9484 MB / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.2022, allocations: 0.5012 MB / 0.7944 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.203, allocations: 423 kB / 0.7949 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2041, allocations: 1.228 MB / 0.7961 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007981/0.2049, allocations: 0.6586 MB / 0.7967 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.2053, allocations: 478.2 kB / 0.7972 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.2059, allocations: 0.5098 MB / 0.7976 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.401e-05/0.206, allocations: 68 kB / 0.7977 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.2066, allocations: 387.2 kB / 0.7981 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.2069, allocations: 311.2 kB / 0.7984 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.2073, allocations: 441.8 kB / 0.7988 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2083, allocations: 1.203 MB / 0.8 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2083, allocations: 0 / 0.8 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2083, allocations: 0 / 0.8 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2083, allocations: 0 / 0.8 GB, free: 12.42 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001668/0.21, allocations: 1.167 MB / 0.8011 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.21, allocations: 12.03 kB / 0.8011 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2102, allocations: 114.6 kB / 0.8012 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.2117, allocations: 243.6 kB / 0.8015 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.2124, allocations: 0.5414 MB / 0.802 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.2124, allocations: 49.67 kB / 0.802 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.2125, allocations: 64.36 kB / 0.8021 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.2138, allocations: 1.089 MB / 0.8032 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2139, allocations: 11.92 kB / 0.8032 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.2139, allocations: 35.98 kB / 0.8032 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.2141, allocations: 85.2 kB / 0.8033 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2152, allocations: 0.7504 MB / 0.804 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.2198, allocations: 5.882 MB / 0.8098 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.2208, allocations: 0.5621 MB / 0.8103 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.2212, allocations: 325.3 kB / 0.8106 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.2212, allocations: 12.42 kB / 0.8106 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2213, allocations: 39 kB / 0.8107 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.994e-06/0.2213, allocations: 0 / 0.8107 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003619/0.2249, allocations: 1.986 MB / 0.8126 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2249, allocations: 63.84 kB / 0.8127 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.2255, allocations: 0.5508 MB / 0.8132 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.2255, allocations: 37.7 kB / 0.8133 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2258, allocations: 414.9 kB / 0.8137 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2259, allocations: 173.6 kB / 0.8138 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.2261, allocations: 122.5 kB / 0.8139 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2262, allocations: 378.7 kB / 0.8143 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.2266, allocations: 273.8 kB / 0.8146 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.2271, allocations: 0.4892 MB / 0.815 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.2281, allocations: 0.8132 MB / 0.8158 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2281, allocations: 0 / 0.8158 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00169/0.2298, allocations: 1.087 MB / 0.8169 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2298, allocations: 8 kB / 0.8169 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2298, allocations: 8 kB / 0.8169 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008058/0.2306, allocations: 279.5 kB / 0.8172 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.2311, allocations: 131.7 kB / 0.8173 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.2372, allocations: 7.134 MB / 0.8243 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.2378, allocations: 43.94 kB / 0.8243 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.2379, allocations: 28 kB / 0.8243 GB, free: 1.891 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003/0.2382, allocations: 253.6 kB / 0.8246 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2383, allocations: 75.16 kB / 0.8246 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2398, allocations: 0.8845 MB / 0.8255 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2398, allocations: 12 kB / 0.8255 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2398, allocations: 4 kB / 0.8255 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2398, allocations: 3.984 kB / 0.8255 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.2426, allocations: 1.716 MB / 0.8272 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2426, allocations: 3.938 kB / 0.8272 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.2429, allocations: 63.89 kB / 0.8273 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/0.2436, allocations: 275.4 kB / 0.8275 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.2437, allocations: 15.94 kB / 0.8275 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.2497, allocations: 7.123 MB / 0.8345 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.2497, allocations: 4.031 kB / 0.8345 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.2512, allocations: 0.9954 MB / 0.8355 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.2514, allocations: 188.2 kB / 0.8357 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.2515, allocations: 15.94 kB / 0.8357 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.2519, allocations: 23.97 kB / 0.8357 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.252, allocations: 47.88 kB / 0.8357 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.252, allocations: 20 kB / 0.8358 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004019/0.2525, allocations: 383.1 kB / 0.8361 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2525, allocations: 0 / 0.8361 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000731/0.2532, allocations: 224 kB / 0.8363 GB, free: 4.84 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.2549, allocations: 1.532 MB / 0.8378 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.2569, allocations: 1.342 MB / 0.8391 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2569, allocations: 4.188 kB / 0.8392 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.2581, allocations: 0.8776 MB / 0.84 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.2591, allocations: 214.8 kB / 0.8402 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.267, allocations: 6.521 MB / 0.8466 GB, free: 9.855 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.2675, allocations: 1.009 MB / 0.8476 GB, free: 8.82 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.2679, allocations: 118 kB / 0.8477 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.2682, allocations: 263.3 kB / 0.8479 GB, free: 8.445 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.2682, allocations: 0 / 0.8479 GB, free: 8.445 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7927/1.061, allocations: 17.11 MB / 0.8646 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.977/11.04, allocations: 10.33 kB / 0.8646 GB, free: 7.586 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)