Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9421/0.9421, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 55.59 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1477, allocations: 80.93 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002704/0.1504, allocations: 1.516 MB / 0.5859 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.1512, allocations: 440.5 kB / 0.5864 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.1512, allocations: 4 kB / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.1513, allocations: 7.938 kB / 0.5864 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.1513, allocations: 3.938 kB / 0.5864 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.1515, allocations: 23.91 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.1516, allocations: 47.84 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1517, allocations: 8 kB / 0.5865 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1519, allocations: 27.92 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.1519, allocations: 31.83 kB / 0.5865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1519, allocations: 7.938 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.152, allocations: 4 kB / 0.5865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.152, allocations: 4 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.152, allocations: 23.86 kB / 0.5866 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.1521, allocations: 43.83 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1521, allocations: 0 / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1521, allocations: 0 / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1521, allocations: 0 / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004806/0.1526, allocations: 363.5 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1527, allocations: 12.03 kB / 0.587 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.1527, allocations: 34.73 kB / 0.587 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.1527, allocations: 8.844 kB / 0.587 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1529, allocations: 168.3 kB / 0.5872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1529, allocations: 8.375 kB / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.1529, allocations: 384 / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1531, allocations: 69.8 kB / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1531, allocations: 0 / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1531, allocations: 0 / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1532, allocations: 0 / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.1533, allocations: 47.95 kB / 0.5873 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.1538, allocations: 296.6 kB / 0.5876 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.1541, allocations: 62.55 kB / 0.5876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.1542, allocations: 20.91 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1542, allocations: 0 / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1542, allocations: 42.55 kB / 0.5877 GB, free: 1.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1543, allocations: 3.938 kB / 0.5877 GB, free: 1.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003544/0.1546, allocations: 89.55 kB / 0.5878 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1547, allocations: 51.41 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.1547, allocations: 117.8 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1548, allocations: 29.64 kB / 0.588 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.1548, allocations: 96.12 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1548, allocations: 7.891 kB / 0.5881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1549, allocations: 17.72 kB / 0.5881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.155, allocations: 322.8 kB / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/0.1551, allocations: 19.98 kB / 0.5884 GB, free: 224 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.1552, allocations: 15.98 kB / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1553, allocations: 40.77 kB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1553, allocations: 0 / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002137/0.1556, allocations: 77.61 kB / 0.5885 GB, free: 80 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1556, allocations: 6.5 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1556, allocations: 4 kB / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1556, allocations: 0 / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.1557, allocations: 11.98 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1557, allocations: 0 / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.1558, allocations: 4 kB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1558, allocations: 7.922 kB / 0.5886 GB, free: 48 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.1559, allocations: 117.8 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.1559, allocations: 3.906 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.1559, allocations: 11.91 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1559, allocations: 0 / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.156, allocations: 3.938 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.156, allocations: 0 / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1561, allocations: 177.6 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1561, allocations: 0 / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1562, allocations: 8 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1562, allocations: 3.984 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.1562, allocations: 4 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1562, allocations: 4 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1563, allocations: 0 / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1565, allocations: 163.4 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.1565, allocations: 85.09 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1566, allocations: 0 / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1567, allocations: 8 kB / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1567, allocations: 4 kB / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1567, allocations: 3.984 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.1568, allocations: 103.1 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 3.938 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002207/0.157, allocations: 7.938 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004936/0.1575, allocations: 0.702 MB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.1578, allocations: 44 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1578, allocations: 7.938 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.1579, allocations: 19.98 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1582, allocations: 0 / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1597, allocations: 1.342 MB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.1599, allocations: 0.6923 MB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.1599, allocations: 4 kB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.16, allocations: 19.44 kB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.763e-06/0.16, allocations: 0 / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.176, allocations: 1.473 MB / 0.5934 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.297, allocations: 0.7031 kB / 0.5934 GB, free: 10.91 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)