Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 289.7 MB / 302.2 MB, free: 2.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 183.2 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 89.61 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.872e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.328, allocations: 138.7 MB / 1.115 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.329, allocations: 78.28 kB / 1.115 GB, free: 44.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005789/1.335, allocations: 1.812 MB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.695e-06/1.335, allocations: 0 / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.335, allocations: 4 kB / 1.117 GB, free: 43.68 MB / 0.7448 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.0003105/1.335, allocations: 337 kB / 1.118 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/1.335, allocations: 8.031 kB / 1.118 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/1.335, allocations: 31.62 kB / 1.118 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/1.335, allocations: 9.406 kB / 1.118 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.335, allocations: 164.4 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/1.335, allocations: 3.266 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/1.335, allocations: 7.547 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/1.335, allocations: 37.7 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.335, allocations: 0 / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.335, allocations: 0 / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/1.335, allocations: 0.5156 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/1.335, allocations: 7.438 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/1.336, allocations: 156.3 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/1.336, allocations: 22.61 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/1.336, allocations: 8.797 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/1.336, allocations: 0.5833 MB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.336, allocations: 38.34 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.336, allocations: 0 / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/1.337, allocations: 249 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/1.337, allocations: 54.64 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/1.337, allocations: 89.52 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/1.337, allocations: 28.89 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/1.337, allocations: 80.14 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.337, allocations: 12.59 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/1.337, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/1.337, allocations: 321.2 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/1.337, allocations: 4 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/1.337, allocations: 21.09 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/1.337, allocations: 7 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.337, allocations: 8.516 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.193e-05/1.337, allocations: 52.7 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.337, allocations: 8.062 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.337, allocations: 0 / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.337, allocations: 0 / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/1.337, allocations: 11.47 kB / 1.119 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.337, allocations: 0.6562 kB / 1.119 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/1.337, allocations: 0 / 1.119 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/1.337, allocations: 4 kB / 1.119 GB, free: 41.06 MB / 0.7448 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.495e-05/1.338, allocations: 104.9 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/1.338, allocations: 7.266 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.338, allocations: 60.09 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.338, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.338, allocations: 0.5625 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/1.338, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/1.338, allocations: 156.3 kB / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.338, allocations: 0.875 kB / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/1.338, allocations: 11.95 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.338, allocations: 0 / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/1.338, allocations: 3.906 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/1.338, allocations: 0 / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.338, allocations: 7.828 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/1.338, allocations: 83.28 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/1.338, allocations: 77.11 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/1.338, allocations: 3.953 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.169e-05/1.338, allocations: 0.8125 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/1.338, allocations: 7.828 kB / 1.12 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.338, allocations: 0 / 1.12 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.098e-05/1.338, allocations: 87.28 kB / 1.12 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.338, allocations: 3.391 kB / 1.12 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002018/1.338, allocations: 39.22 kB / 1.12 GB, free: 40.37 MB / 0.7448 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.0004268/1.339, allocations: 0.6424 MB / 1.121 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.087e-05/1.339, allocations: 12.66 kB / 1.121 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.339, allocations: 4.188 kB / 1.121 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/1.339, allocations: 14.89 kB / 1.121 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/1.339, allocations: 7.953 kB / 1.121 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/1.339, allocations: 121.5 kB / 1.121 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/1.34, allocations: 0.6808 MB / 1.122 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.845e-05/1.34, allocations: 0 / 1.122 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/1.34, allocations: 15.19 kB / 1.122 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.34, allocations: 0 / 1.122 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/1.354, allocations: 1.751 MB / 1.123 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.354, allocations: 187.2 kB / 1.123 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/3.177, allocations: 4.625 kB / 1.123 GB, free: 37.68 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)