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.304/2.304, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001233/0.001233, allocations: 178.6 kB / 0.4901 GB, free: 2.242 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.665/1.665, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009279/0.000928, allocations: 106.3 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003604, allocations: 10.84 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3292, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/0.577, allocations: 192.3 MB / 1.417 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5773, allocations: 103.9 kB / 1.417 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7711/1.348, allocations: 83.9 MB / 1.499 GB, free: 147.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.134e-06/1.349, allocations: 0 / 1.499 GB, free: 147.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001725/1.349, allocations: 43.98 kB / 1.499 GB, free: 147.3 MB / 0.9167 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.004519/1.353, allocations: 1.776 MB / 1.501 GB, free: 145.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.353, allocations: 8.562 kB / 1.501 GB, free: 145.4 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006696/1.354, allocations: 193.9 kB / 1.501 GB, free: 145.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.364, allocations: 1.804 MB / 1.503 GB, free: 143.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/1.367, allocations: 1.146 MB / 1.504 GB, free: 142.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/1.368, allocations: 86.31 kB / 1.504 GB, free: 142.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005387/1.368, allocations: 123.8 kB / 1.504 GB, free: 142 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/1.374, allocations: 2.544 MB / 1.507 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.374, allocations: 7.938 kB / 1.507 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.374, allocations: 59.94 kB / 1.507 GB, free: 139.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/1.374, allocations: 74.2 kB / 1.507 GB, free: 139.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006285/1.38, allocations: 2.588 MB / 1.509 GB, free: 136.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/1.392, allocations: 10.22 MB / 1.519 GB, free: 125.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/1.398, allocations: 2 MB / 1.521 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/1.398, allocations: 8.422 kB / 1.521 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.398, allocations: 46.98 kB / 1.521 GB, free: 123.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/1.398, allocations: 4 kB / 1.521 GB, free: 123.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.02773/1.425, allocations: 9.218 MB / 1.53 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/1.426, allocations: 214.3 kB / 1.53 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/1.427, allocations: 0.9572 MB / 1.531 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.427, allocations: 37.7 kB / 1.531 GB, free: 113 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/1.427, allocations: 0.7343 MB / 1.532 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/1.428, allocations: 283.9 kB / 1.532 GB, free: 112 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/1.428, allocations: 20 kB / 1.532 GB, free: 112 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.209e-05/1.428, allocations: 337.9 kB / 1.533 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/1.43, allocations: 1.095 MB / 1.534 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/1.433, allocations: 1.338 MB / 1.535 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/1.435, allocations: 1.154 MB / 1.536 GB, free: 108 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.435, allocations: 4 kB / 1.536 GB, free: 108 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007759/1.443, allocations: 3.335 MB / 1.54 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/1.443, allocations: 8 kB / 1.54 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.443, allocations: 4 kB / 1.54 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002959/1.446, allocations: 0.8654 MB / 1.54 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/1.448, allocations: 415.3 kB / 1.541 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.46, allocations: 15.2 MB / 1.556 GB, free: 87.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/1.463, allocations: 307.5 kB / 1.556 GB, free: 86.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.463, allocations: 47.97 kB / 1.556 GB, free: 86.68 MB / 0.9167 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 () * Number of clocked 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.0009826/1.464, allocations: 393.5 kB / 1.556 GB, free: 86.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/1.464, allocations: 150.2 kB / 1.557 GB, free: 86.13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008002/1.472, allocations: 3.269 MB / 1.56 GB, free: 82.82 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.472, allocations: 12 kB / 1.56 GB, free: 82.81 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.472, allocations: 8 kB / 1.56 GB, free: 82.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.472, allocations: 7.938 kB / 1.56 GB, free: 82.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.483, allocations: 5.041 MB / 1.565 GB, free: 77.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.483, allocations: 4 kB / 1.565 GB, free: 77.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.484, allocations: 367.7 kB / 1.565 GB, free: 77.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/1.487, allocations: 0.7796 MB / 1.566 GB, free: 76.46 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.487, allocations: 31.97 kB / 1.566 GB, free: 76.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.505, allocations: 14.82 MB / 1.58 GB, free: 60.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.505, allocations: 0 / 1.58 GB, free: 60.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.518, allocations: 3.276 MB / 1.583 GB, free: 57.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.52, allocations: 395.2 kB / 1.584 GB, free: 56.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/1.52, allocations: 20 kB / 1.584 GB, free: 56.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/1.524, allocations: 307.5 kB / 1.584 GB, free: 56.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/1.524, allocations: 80.48 kB / 1.584 GB, free: 56.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.524, allocations: 35.97 kB / 1.584 GB, free: 56.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00169/1.526, allocations: 0.7366 MB / 1.585 GB, free: 55.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.91e-07/1.526, allocations: 0 / 1.585 GB, free: 55.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002763/1.529, allocations: 464 kB / 1.585 GB, free: 55.06 MB / 0.9167 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,(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.01427/1.543, allocations: 4.6 MB / 1.59 GB, free: 50.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0147/1.558, allocations: 3.687 MB / 1.594 GB, free: 46.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.558, allocations: 0 / 1.594 GB, free: 46.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007821/1.566, allocations: 2.41 MB / 1.596 GB, free: 44.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.569, allocations: 477.5 kB / 1.596 GB, free: 43.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/1.596, allocations: 16.28 MB / 1.612 GB, free: 26.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/1.597, allocations: 1.419 MB / 1.614 GB, free: 25.33 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001629/1.598, allocations: 379.9 kB / 1.614 GB, free: 24.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/1.599, allocations: 0.5969 MB / 1.615 GB, free: 24.36 MB / 0.9167 GB Notification: Performance of SimCode: time 2.735e-06/1.599, allocations: 0 / 1.615 GB, free: 24.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/1.664, allocations: 41.48 MB / 1.655 GB, free: 15.46 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.664, allocations: 204.3 kB / 1.655 GB, free: 15.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/5.014, allocations: 4 kB / 1.655 GB, free: 15.22 MB / 0.948 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