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.817/0.817, allocations: 143.3 MB / 158.3 MB, free: 5.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 169.1 kB / 191.5 MB, free: 5.746 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.417/1.417, allocations: 223.2 MB / 447.7 MB, free: 4.852 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.000879/0.0008791, allocations: 96.25 kB / 0.5187 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00222/0.00222, allocations: 269.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 17.39 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1542, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.3053, allocations: 108.4 MB / 0.8797 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3055, allocations: 75.95 kB / 0.8798 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3055/0.6111, allocations: 1.813 MB / 0.8815 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.058e-06/0.6111, allocations: 0.75 kB / 0.8815 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6111, allocations: 4.812 kB / 0.8815 GB, free: 108.8 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.0003418/0.6115, allocations: 348.2 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.6116, allocations: 9.672 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.6116, allocations: 31.41 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.6116, allocations: 2.469 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.6117, allocations: 165.8 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6117, allocations: 6.203 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.6118, allocations: 9.531 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.6119, allocations: 34.92 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6119, allocations: 0 / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.6119, allocations: 1.062 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6119, allocations: 0.8438 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.6119, allocations: 6.219 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.6121, allocations: 156.1 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.6121, allocations: 29.12 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/0.6126, allocations: 0.5796 MB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.6126, allocations: 34.62 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.6126, allocations: 0 / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004562/0.6131, allocations: 251.4 kB / 0.8831 GB, free: 107 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.6131, allocations: 54.75 kB / 0.8832 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.6131, allocations: 97.78 kB / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.6132, allocations: 29.64 kB / 0.8833 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.6132, allocations: 80.14 kB / 0.8834 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6132, allocations: 13.53 kB / 0.8834 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.6132, allocations: 0 / 0.8834 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.6133, allocations: 317.3 kB / 0.8837 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.6133, allocations: 8.969 kB / 0.8837 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.6133, allocations: 21.2 kB / 0.8837 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.6133, allocations: 8.531 kB / 0.8837 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.6133, allocations: 0 / 0.8837 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.471e-05/0.6134, allocations: 60.5 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6135, allocations: 5.312 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.6135, allocations: 0 / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6135, allocations: 0 / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.6135, allocations: 12.73 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.6135, allocations: 2.594 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.6136, allocations: 0.875 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.6136, allocations: 2.375 kB / 0.8838 GB, free: 106.4 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 () * Number of clocked 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 4.77e-05/0.6136, allocations: 113.2 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.6136, allocations: 6.922 kB / 0.8839 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.6138, allocations: 56.05 kB / 0.884 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6138, allocations: 2.375 kB / 0.884 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6138, allocations: 0 / 0.884 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6138, allocations: 0 / 0.884 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.148e-05/0.6139, allocations: 156.1 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6139, allocations: 0 / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.6139, allocations: 8.938 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6139, allocations: 0 / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.6139, allocations: 11.81 kB / 0.8842 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.614, allocations: 1.422 kB / 0.8842 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.614, allocations: 0 / 0.8842 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.6141, allocations: 74.88 kB / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.6141, allocations: 83.06 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.6141, allocations: 0 / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.6142, allocations: 10.83 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.6142, allocations: 3.75 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6142, allocations: 1 kB / 0.8843 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.125e-05/0.6142, allocations: 82.62 kB / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6142, allocations: 0 / 0.8844 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002588/0.6145, allocations: 38.8 kB / 0.8844 GB, free: 105.8 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 () * 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 (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.0003763/0.6149, allocations: 0.6546 MB / 0.8851 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.615, allocations: 14.19 kB / 0.8851 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.615, allocations: 7.188 kB / 0.8851 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.615, allocations: 10.97 kB / 0.8851 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.911e-05/0.6151, allocations: 10.81 kB / 0.8851 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.6156, allocations: 0.528 MB / 0.8856 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.6157, allocations: 0.6811 MB / 0.8863 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.6157, allocations: 3.438 kB / 0.8863 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.6158, allocations: 13.41 kB / 0.8863 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.6158, allocations: 4 kB / 0.8863 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.6287, allocations: 1.755 MB / 0.888 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.6289, allocations: 228 kB / 0.8882 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.204, allocations: 0 / 0.8882 GB, free: 103.6 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)