Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.36/2.36, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001415/0.001415, allocations: 187.9 kB / 0.4901 GB, free: 2.223 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.795/1.795, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.000955/0.000955, allocations: 113.1 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 12.88 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9113/1.194, allocations: 194.3 MB / 1.419 GB, free: 72.47 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004341/1.195, allocations: 101.2 kB / 1.419 GB, free: 72.47 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.08286/1.278, allocations: 30.94 MB / 1.449 GB, free: 68.58 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.093e-06/1.278, allocations: 3.906 kB / 1.449 GB, free: 68.58 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.788e-05/1.278, allocations: 15.8 kB / 1.449 GB, free: 68.57 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001254/1.279, allocations: 0.7449 MB / 1.45 GB, free: 68.04 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.279, allocations: 16.31 kB / 1.45 GB, free: 68.03 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.007e-05/1.279, allocations: 66.23 kB / 1.45 GB, free: 67.99 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/1.281, allocations: 0.5759 MB / 1.451 GB, free: 67.96 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/1.282, allocations: 475.3 kB / 1.451 GB, free: 67.71 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/1.282, allocations: 22.94 kB / 1.451 GB, free: 67.71 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/1.282, allocations: 26.62 kB / 1.451 GB, free: 67.71 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/1.284, allocations: 0.7642 MB / 1.452 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.284, allocations: 0 / 1.452 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/1.284, allocations: 14.16 kB / 1.452 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/1.284, allocations: 23.38 kB / 1.452 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/1.285, allocations: 0.8601 MB / 1.453 GB, free: 67.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/1.289, allocations: 2.861 MB / 1.456 GB, free: 65.91 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.29, allocations: 0.5309 MB / 1.456 GB, free: 65.88 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.319e-05/1.29, allocations: 81.02 kB / 1.456 GB, free: 65.79 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.29, allocations: 34.47 kB / 1.456 GB, free: 65.75 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/1.29, allocations: 0 / 1.456 GB, free: 65.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.009203/1.3, allocations: 2.953 MB / 1.459 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.3, allocations: 81.02 kB / 1.459 GB, free: 65.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/1.3, allocations: 380 kB / 1.46 GB, free: 65.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/1.3, allocations: 25.7 kB / 1.46 GB, free: 65.22 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.3, allocations: 240.8 kB / 1.46 GB, free: 65.08 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/1.3, allocations: 79.84 kB / 1.46 GB, free: 65.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/1.3, allocations: 19.41 kB / 1.46 GB, free: 65.02 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.043e-05/1.3, allocations: 342.5 kB / 1.46 GB, free: 64.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/1.301, allocations: 363.6 kB / 1.461 GB, free: 64.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/1.302, allocations: 443.6 kB / 1.461 GB, free: 64.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/1.303, allocations: 389.2 kB / 1.461 GB, free: 64.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.303, allocations: 0 / 1.461 GB, free: 64.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003877/1.307, allocations: 1.412 MB / 1.463 GB, free: 64.49 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.307, allocations: 0.7887 MB / 1.464 GB, free: 63.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.307, allocations: 3.938 kB / 1.464 GB, free: 63.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/1.31, allocations: 0.7027 MB / 1.464 GB, free: 63.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/1.31, allocations: 127.7 kB / 1.464 GB, free: 63.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/1.314, allocations: 3.253 MB / 1.468 GB, free: 61.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007811/1.315, allocations: 110.9 kB / 1.468 GB, free: 61.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.315, allocations: 18.61 kB / 1.468 GB, free: 61.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.315, allocations: 3.906 kB / 1.468 GB, free: 61.83 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003462/1.318, allocations: 1.151 MB / 1.469 GB, free: 61.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.318, allocations: 2.109 kB / 1.469 GB, free: 61.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.32, allocations: 470.9 kB / 1.469 GB, free: 61.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/1.321, allocations: 143.9 kB / 1.469 GB, free: 61.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/1.324, allocations: 2.531 MB / 1.472 GB, free: 60.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/1.325, allocations: 103.6 kB / 1.472 GB, free: 60.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/1.325, allocations: 15.56 kB / 1.472 GB, free: 60.48 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004593/1.325, allocations: 325.8 kB / 1.472 GB, free: 60.28 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/1.325, allocations: 39.06 kB / 1.472 GB, free: 60.26 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/1.329, allocations: 1.307 MB / 1.474 GB, free: 60.17 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.329, allocations: 0 / 1.474 GB, free: 60.17 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.329, allocations: 7.906 kB / 1.474 GB, free: 60.17 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.329, allocations: 0 / 1.474 GB, free: 60.17 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/1.334, allocations: 2 MB / 1.476 GB, free: 59.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.334, allocations: 3.906 kB / 1.476 GB, free: 59.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/1.334, allocations: 87.75 kB / 1.476 GB, free: 59.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.337, allocations: 0.6903 MB / 1.476 GB, free: 59.74 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/1.337, allocations: 7.547 kB / 1.476 GB, free: 59.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004902/1.342, allocations: 4.571 MB / 1.481 GB, free: 57.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.342, allocations: 3.938 kB / 1.481 GB, free: 57.18 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/1.345, allocations: 1.361 MB / 1.482 GB, free: 56.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/1.346, allocations: 172.7 kB / 1.482 GB, free: 56.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/1.346, allocations: 5.438 kB / 1.482 GB, free: 56.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/1.346, allocations: 92 kB / 1.482 GB, free: 56.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.347, allocations: 33.06 kB / 1.482 GB, free: 56.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/1.347, allocations: 8.406 kB / 1.482 GB, free: 56.79 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004109/1.347, allocations: 312 kB / 1.483 GB, free: 56.71 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.347, allocations: 3.938 kB / 1.483 GB, free: 56.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009726/1.348, allocations: 216 kB / 1.483 GB, free: 56.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00465/1.353, allocations: 2.181 MB / 1.485 GB, free: 55.68 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003846/1.357, allocations: 1.507 MB / 1.487 GB, free: 55.16 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.357, allocations: 1.25 kB / 1.487 GB, free: 55.16 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/1.358, allocations: 0.6757 MB / 1.487 GB, free: 54.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/1.359, allocations: 108.5 kB / 1.487 GB, free: 54.78 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/1.369, allocations: 5.254 MB / 1.492 GB, free: 51.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/1.369, allocations: 0.9231 MB / 1.493 GB, free: 51.08 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006597/1.37, allocations: 161.5 kB / 1.493 GB, free: 51 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/1.37, allocations: 137.7 kB / 1.494 GB, free: 50.97 MB / 0.9011 GB Notification: Performance of SimCode: time 1.353e-06/1.37, allocations: 1.094 kB / 1.494 GB, free: 50.97 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/1.399, allocations: 15.89 MB / 1.509 GB, free: 43.32 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.399, allocations: 222.8 kB / 1.509 GB, free: 43.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.744, allocations: 0 / 1.509 GB, free: 43.09 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat does not exist to compare? outputFormat=mat