Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008507, allocations: 97.23 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.497e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09267, allocations: 50.42 MB / 394.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/0.3858, allocations: 80.84 MB / 475.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.386, allocations: 79.95 kB / 475.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.4005, allocations: 5.645 MB / 480.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4005, allocations: 0 / 480.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.4005, allocations: 8 kB / 480.9 MB, free: 0.875 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008245/0.4013, allocations: 0.5732 MB / 481.5 MB, free: 264 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4014, allocations: 8.031 kB / 481.5 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/0.4015, allocations: 70.53 kB / 481.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.4016, allocations: 39.53 kB / 481.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.402, allocations: 295.5 kB / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.402, allocations: 20.78 kB / 481.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.4021, allocations: 31.94 kB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.4026, allocations: 327.3 kB / 482.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4027, allocations: 3.953 kB / 482.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.4027, allocations: 16 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.4027, allocations: 4 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.4031, allocations: 227.1 kB / 482.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.4051, allocations: 1.28 MB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.4055, allocations: 247.8 kB / 484 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4057, allocations: 72.86 kB / 484.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.4057, allocations: 0 / 484.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4057, allocations: 42.55 kB / 484.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.4057, allocations: 0 / 484.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006943/0.4064, allocations: 258.9 kB / 484.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.4065, allocations: 55.41 kB / 484.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.4068, allocations: 263.4 kB / 484.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.4068, allocations: 25.7 kB / 484.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.407, allocations: 223.5 kB / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.407, allocations: 51.27 kB / 485 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.407, allocations: 4 kB / 485 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4072, allocations: 342.8 kB / 485.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.974e-05/0.4073, allocations: 52 kB / 485.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4075, allocations: 138.3 kB / 485.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.4076, allocations: 77.47 kB / 485.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4076, allocations: 0 / 485.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007095/0.4083, allocations: 354 kB / 486 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4084, allocations: 5.406 kB / 486 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4084, allocations: 7.938 kB / 486 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/0.4087, allocations: 76.88 kB / 486.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4088, allocations: 47.91 kB / 486.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.411, allocations: 1.808 MB / 487.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4112, allocations: 47.56 kB / 488 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.4112, allocations: 12 kB / 488 MB, free: 9.387 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 8.995e-05/0.4113, allocations: 117 kB / 488.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.4114, allocations: 23.72 kB / 488.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.4115, allocations: 34.03 kB / 488.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4115, allocations: 0 / 488.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4115, allocations: 4 kB / 488.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4115, allocations: 0 / 488.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.4125, allocations: 0.6746 MB / 488.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4125, allocations: 4 kB / 488.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.4126, allocations: 19.92 kB / 488.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.4128, allocations: 68.83 kB / 488.9 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4128, allocations: 4 kB / 488.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.4146, allocations: 1.792 MB / 490.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4147, allocations: 0 / 490.7 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.4153, allocations: 363.9 kB / 491.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.4154, allocations: 100.8 kB / 491.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.4154, allocations: 8 kB / 491.2 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4156, allocations: 23.98 kB / 491.2 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.4157, allocations: 27.84 kB / 491.2 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4157, allocations: 0 / 491.2 MB, free: 5.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.4159, allocations: 207.1 kB / 491.4 MB, free: 5.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4159, allocations: 4 kB / 491.4 MB, free: 5.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.4163, allocations: 87.75 kB / 491.5 MB, free: 5.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009518/0.4173, allocations: 0.9068 MB / 492.4 MB, free: 4.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005607/0.4179, allocations: 294.3 kB / 492.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4179, allocations: 0 / 492.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.4181, allocations: 203.2 kB / 492.9 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4185, allocations: 40.83 kB / 492.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.4195, allocations: 431 kB / 493.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4199, allocations: 0.7796 MB / 494.1 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.4201, allocations: 18.47 kB / 494.2 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4202, allocations: 99.39 kB / 494.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4202, allocations: 0 / 494.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.4392, allocations: 5.867 MB / 0.4884 GB, free: 13.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.4394, allocations: 185.7 kB / 0.4886 GB, free: 12.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.185, allocations: 8.062 kB / 0.4886 GB, free: 12.78 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat