Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7348/0.7348, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009183/0.0009187, allocations: 182.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.0009061, allocations: 94.36 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 273.9 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.021e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4399, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.5517, allocations: 108.4 MB / 0.8702 GB, free: 184 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.552, allocations: 75.95 kB / 0.8703 GB, free: 108 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005816/0.5578, allocations: 1.821 MB / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5578, allocations: 4 kB / 0.872 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5579, allocations: 0 / 0.872 GB, free: 14.28 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000273/0.5581, allocations: 342.4 kB / 0.8724 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5582, allocations: 15.97 kB / 0.8724 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.5582, allocations: 34.56 kB / 0.8724 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.5583, allocations: 0 / 0.8724 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5584, allocations: 159.1 kB / 0.8726 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5584, allocations: 11.95 kB / 0.8726 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.5584, allocations: 0 / 0.8726 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.5585, allocations: 33.69 kB / 0.8726 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5585, allocations: 0 / 0.8726 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.5585, allocations: 0 / 0.8726 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5586, allocations: 0 / 0.8726 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.5586, allocations: 4 kB / 0.8726 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.5587, allocations: 165.5 kB / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.5588, allocations: 26.56 kB / 0.8728 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.5588, allocations: 8.922 kB / 0.8728 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/0.5593, allocations: 0.5778 MB / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.5594, allocations: 34.56 kB / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5594, allocations: 0 / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004575/0.5598, allocations: 252.3 kB / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.5599, allocations: 55.41 kB / 0.8737 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.56, allocations: 89.31 kB / 0.8738 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.56, allocations: 29.7 kB / 0.8738 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.56, allocations: 80.14 kB / 0.8739 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.56, allocations: 15.8 kB / 0.8739 GB, free: 12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.56, allocations: 0 / 0.8739 GB, free: 12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.5601, allocations: 314.8 kB / 0.8742 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.5602, allocations: 8 kB / 0.8742 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.5602, allocations: 21.69 kB / 0.8742 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.996e-05/0.5602, allocations: 8 kB / 0.8742 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5602, allocations: 0 / 0.8742 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.264e-05/0.5603, allocations: 53.64 kB / 0.8743 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5603, allocations: 8 kB / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5603, allocations: 0 / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5604, allocations: 3.938 kB / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.5604, allocations: 7.984 kB / 0.8743 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5604, allocations: 4 kB / 0.8743 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.5605, allocations: 8.062 kB / 0.8743 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.5605, allocations: 0 / 0.8743 GB, free: 11.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.5605, allocations: 105 kB / 0.8744 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.5605, allocations: 3.953 kB / 0.8744 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.5607, allocations: 53.12 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5607, allocations: 4 kB / 0.8745 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5607, allocations: 3.938 kB / 0.8745 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5607, allocations: 0 / 0.8745 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.5608, allocations: 157.7 kB / 0.8746 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5608, allocations: 0 / 0.8746 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.5608, allocations: 11.98 kB / 0.8747 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5609, allocations: 0 / 0.8747 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.5609, allocations: 3.953 kB / 0.8747 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5609, allocations: 4 kB / 0.8747 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5609, allocations: 0 / 0.8747 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.561, allocations: 77.03 kB / 0.8747 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.5611, allocations: 81.17 kB / 0.8748 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.5611, allocations: 7.969 kB / 0.8748 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.5611, allocations: 7.938 kB / 0.8748 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.5611, allocations: 0 / 0.8748 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.5611, allocations: 4 kB / 0.8748 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.5612, allocations: 83.22 kB / 0.8749 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5612, allocations: 0 / 0.8749 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001922/0.5614, allocations: 35.94 kB / 0.8749 GB, free: 10.82 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004548/0.5618, allocations: 0.6476 MB / 0.8756 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.5619, allocations: 19.94 kB / 0.8756 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5619, allocations: 0 / 0.8756 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.562, allocations: 8.375 kB / 0.8756 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.648e-05/0.5621, allocations: 4.562 kB / 0.8756 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.5624, allocations: 140.7 kB / 0.8757 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.5626, allocations: 0.677 MB / 0.8764 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.5626, allocations: 7.75 kB / 0.8764 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.5626, allocations: 7.438 kB / 0.8764 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5626, allocations: 4 kB / 0.8764 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.575, allocations: 1.764 MB / 0.8781 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.5753, allocations: 201.3 kB / 0.8783 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.05, allocations: 4 kB / 0.8783 GB, free: 7.426 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)