Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001081/0.001081, allocations: 183.5 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0009299/0.0009302, allocations: 99.88 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.233e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2792, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8854/1.165, allocations: 191.4 MB / 1.399 GB, free: 8.609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.165, allocations: 101.5 kB / 1.4 GB, free: 8.555 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2199/1.385, allocations: 83.57 MB / 1.481 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/1.385, allocations: 4 kB / 1.481 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002103/1.385, allocations: 39.98 kB / 1.481 GB, free: 1.406 MB / 0.8855 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.004827/1.39, allocations: 1.54 MB / 1.483 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/1.39, allocations: 8.031 kB / 1.483 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007841/1.391, allocations: 195.6 kB / 1.483 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/1.402, allocations: 1.805 MB / 1.485 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/1.407, allocations: 1.134 MB / 1.486 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.407, allocations: 93.81 kB / 1.486 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00068/1.408, allocations: 120 kB / 1.486 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/1.412, allocations: 2.047 MB / 1.488 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/1.412, allocations: 7.5 kB / 1.488 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.412, allocations: 54.17 kB / 1.488 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/1.412, allocations: 82.09 kB / 1.488 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/1.415, allocations: 1.601 MB / 1.49 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/1.429, allocations: 10.2 MB / 1.5 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/1.432, allocations: 1.13 MB / 1.501 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008689/1.432, allocations: 0.5956 MB / 1.501 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/1.433, allocations: 4.438 kB / 1.501 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/1.433, allocations: 43 kB / 1.501 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 4.048e-06/1.433, allocations: 4 kB / 1.501 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.02177/1.454, allocations: 6.61 MB / 1.508 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.455, allocations: 214.4 kB / 1.508 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/1.456, allocations: 0.9436 MB / 1.509 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/1.456, allocations: 41.7 kB / 1.509 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/1.457, allocations: 0.7304 MB / 1.51 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/1.457, allocations: 284 kB / 1.51 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/1.457, allocations: 20 kB / 1.51 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.457, allocations: 338 kB / 1.51 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.458, allocations: 0.6892 MB / 1.511 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.46, allocations: 0.934 MB / 1.512 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.461, allocations: 0.7477 MB / 1.513 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.461, allocations: 4 kB / 1.513 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00559/1.467, allocations: 2.495 MB / 1.515 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/1.467, allocations: 9.844 kB / 1.515 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.467, allocations: 8 kB / 1.515 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/1.47, allocations: 0.8536 MB / 1.516 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/1.472, allocations: 423.2 kB / 1.516 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/1.489, allocations: 14.87 MB / 1.531 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.491, allocations: 307.6 kB / 1.531 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/1.492, allocations: 51.95 kB / 1.531 GB, free: 14.05 MB / 0.948 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.0003857/1.492, allocations: 166.6 kB / 1.531 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/1.492, allocations: 142.3 kB / 1.531 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/1.498, allocations: 2.464 MB / 1.534 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.498, allocations: 11.94 kB / 1.534 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/1.498, allocations: 8 kB / 1.534 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.498, allocations: 4.172 kB / 1.534 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008873/1.507, allocations: 4.252 MB / 1.538 GB, free: 6.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.507, allocations: 4 kB / 1.538 GB, free: 6.836 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/1.509, allocations: 359.4 kB / 1.538 GB, free: 6.484 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/1.512, allocations: 0.7762 MB / 1.539 GB, free: 5.684 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/1.512, allocations: 31.97 kB / 1.539 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/1.528, allocations: 14.5 MB / 1.553 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.528, allocations: 4.031 kB / 1.553 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/1.533, allocations: 2.469 MB / 1.556 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.534, allocations: 391.2 kB / 1.556 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/1.535, allocations: 15.94 kB / 1.556 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.537, allocations: 315.5 kB / 1.556 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/1.538, allocations: 76.61 kB / 1.557 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.538, allocations: 39.97 kB / 1.557 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001575/1.539, allocations: 0.727 MB / 1.557 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.41e-07/1.539, allocations: 0 / 1.557 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002127/1.541, allocations: 460 kB / 1.558 GB, free: 1.418 MB / 0.9636 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.005571/1.547, allocations: 3.797 MB / 1.561 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005018/1.552, allocations: 2.852 MB / 1.564 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.552, allocations: 7.938 kB / 1.564 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/1.555, allocations: 1.973 MB / 1.566 GB, free: 8.453 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/1.558, allocations: 478.3 kB / 1.567 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/1.567, allocations: 3.032 MB / 1.57 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.568, allocations: 1.423 MB / 1.571 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001838/1.57, allocations: 375.9 kB / 1.571 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009474/1.571, allocations: 0.5969 MB / 1.572 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of SimCode: time 1.132e-06/1.571, allocations: 0 / 1.572 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07806/1.649, allocations: 41.24 MB / 1.612 GB, free: 9.758 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.649, allocations: 173.3 kB / 1.612 GB, free: 9.535 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/4.786, allocations: 0 / 1.612 GB, free: 9.535 MB / 1.026 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat