Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.414/2.414, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.73/1.73, allocations: 221.3 MB / 0.7915 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001006, allocations: 87.53 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.791e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2822, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.327, allocations: 192.3 MB / 1.407 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.327, allocations: 102.4 kB / 1.407 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2254/1.553, allocations: 83.58 MB / 1.488 GB, free: 13.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/1.553, allocations: 0 / 1.488 GB, free: 13.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001764/1.553, allocations: 43.98 kB / 1.488 GB, free: 13.72 MB / 0.948 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.004346/1.557, allocations: 1.54 MB / 1.49 GB, free: 12.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.557, allocations: 8.031 kB / 1.49 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006025/1.558, allocations: 181.9 kB / 1.49 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/1.57, allocations: 1.808 MB / 1.492 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/1.574, allocations: 1.134 MB / 1.493 GB, free: 8.934 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.574, allocations: 90.31 kB / 1.493 GB, free: 8.844 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006303/1.575, allocations: 115.9 kB / 1.493 GB, free: 8.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005023/1.58, allocations: 2.049 MB / 1.495 GB, free: 6.492 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.188e-05/1.58, allocations: 11.88 kB / 1.495 GB, free: 6.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/1.581, allocations: 59.94 kB / 1.495 GB, free: 6.422 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.581, allocations: 78.19 kB / 1.495 GB, free: 6.344 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/1.584, allocations: 1.609 MB / 1.497 GB, free: 4.727 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/1.601, allocations: 10.18 MB / 1.507 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/1.603, allocations: 1.131 MB / 1.508 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008808/1.604, allocations: 0.5917 MB / 1.508 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/1.604, allocations: 8.438 kB / 1.508 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.739e-05/1.604, allocations: 39 kB / 1.509 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=53): time 3.517e-06/1.604, allocations: 0 / 1.509 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.02229/1.627, allocations: 6.61 MB / 1.515 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.627, allocations: 218.4 kB / 1.515 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.629, allocations: 0.9436 MB / 1.516 GB, free: 208 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/1.629, allocations: 41.7 kB / 1.516 GB, free: 160 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/1.63, allocations: 0.7304 MB / 1.517 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/1.63, allocations: 283.9 kB / 1.517 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/1.63, allocations: 16 kB / 1.517 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.63, allocations: 341.9 kB / 1.517 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.631, allocations: 0.6931 MB / 1.518 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/1.633, allocations: 0.9301 MB / 1.519 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.634, allocations: 0.7438 MB / 1.52 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.634, allocations: 7.953 kB / 1.52 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005163/1.639, allocations: 2.491 MB / 1.522 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.639, allocations: 8 kB / 1.522 GB, free: 9.773 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.639, allocations: 4.75 kB / 1.522 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003123/1.642, allocations: 0.8653 MB / 1.523 GB, free: 8.879 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.645, allocations: 427.2 kB / 1.523 GB, free: 8.461 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/1.661, allocations: 14.87 MB / 1.538 GB, free: 8.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/1.663, allocations: 307.6 kB / 1.538 GB, free: 8.219 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/1.664, allocations: 47.97 kB / 1.538 GB, free: 8.172 MB / 0.9948 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.000309/1.664, allocations: 164.8 kB / 1.538 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.664, allocations: 142.3 kB / 1.539 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005389/1.67, allocations: 2.472 MB / 1.541 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.67, allocations: 8 kB / 1.541 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/1.67, allocations: 8 kB / 1.541 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.67, allocations: 7.938 kB / 1.541 GB, free: 5.328 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008315/1.678, allocations: 4.229 MB / 1.545 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.678, allocations: 4 kB / 1.545 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.68, allocations: 359.4 kB / 1.546 GB, free: 0.6172 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/1.683, allocations: 0.7796 MB / 1.546 GB, free: 15.81 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/1.683, allocations: 35.95 kB / 1.546 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.698, allocations: 14.51 MB / 1.561 GB, free: 204 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.698, allocations: 7.969 kB / 1.561 GB, free: 196 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/1.703, allocations: 2.462 MB / 1.563 GB, free: 13.56 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.704, allocations: 395.2 kB / 1.563 GB, free: 13.16 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/1.704, allocations: 15.95 kB / 1.563 GB, free: 13.14 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.706, allocations: 307.5 kB / 1.564 GB, free: 12.84 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/1.707, allocations: 80.61 kB / 1.564 GB, free: 12.76 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.707, allocations: 39.97 kB / 1.564 GB, free: 12.72 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001267/1.708, allocations: 0.727 MB / 1.564 GB, free: 11.99 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.42e-07/1.708, allocations: 0 / 1.564 GB, free: 11.99 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002147/1.71, allocations: 456 kB / 1.565 GB, free: 11.55 MB / 1.026 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.005298/1.716, allocations: 3.804 MB / 1.569 GB, free: 7.617 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.004826/1.72, allocations: 2.845 MB / 1.571 GB, free: 4.668 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.72, allocations: 8.125 kB / 1.571 GB, free: 4.66 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003087/1.724, allocations: 1.977 MB / 1.573 GB, free: 2.578 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.726, allocations: 476.5 kB / 1.574 GB, free: 2.121 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/1.734, allocations: 3.036 MB / 1.577 GB, free: 15 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.735, allocations: 1.419 MB / 1.578 GB, free: 13.55 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001793/1.737, allocations: 375.9 kB / 1.578 GB, free: 13.18 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008861/1.738, allocations: 0.6008 MB / 1.579 GB, free: 12.57 MB / 1.042 GB Notification: Performance of SimCode: time 1.623e-06/1.738, allocations: 0 / 1.579 GB, free: 12.57 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07352/1.811, allocations: 41.25 MB / 1.619 GB, free: 3.895 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.812, allocations: 186.4 kB / 1.62 GB, free: 3.664 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/5.122, allocations: 2.109 kB / 1.62 GB, free: 3.664 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat