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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002456/0.002456, allocations: 283.2 kB / 312.7 MB, free: 2.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.249/1.249, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 107.5 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1907, allocations: 95.38 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002261/0.193, allocations: 0.536 MB / 0.8333 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.194, allocations: 351.3 kB / 0.8336 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.194, allocations: 0 / 0.8336 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.194, allocations: 3.938 kB / 0.8336 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.1941, allocations: 0 / 0.8336 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.1946, allocations: 107.7 kB / 0.8337 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.1947, allocations: 7.938 kB / 0.8337 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.1947, allocations: 0 / 0.8337 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.1947, allocations: 4 kB / 0.8337 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.1948, allocations: 7.984 kB / 0.8337 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1948, allocations: 7.938 kB / 0.8337 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.1953, allocations: 195.8 kB / 0.8339 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1953, allocations: 3.938 kB / 0.8339 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.1953, allocations: 0 / 0.8339 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1956, allocations: 95.94 kB / 0.834 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1956, allocations: 4 kB / 0.834 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1956, allocations: 0 / 0.834 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.1956, allocations: 0 / 0.834 GB, free: 7.375 MB / 0.5762 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.0004582/0.1961, allocations: 262.2 kB / 0.8343 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1961, allocations: 9.344 kB / 0.8343 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.1962, allocations: 30.75 kB / 0.8343 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.1962, allocations: 8.891 kB / 0.8343 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1963, allocations: 102.5 kB / 0.8344 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1963, allocations: 384 / 0.8344 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1964, allocations: 12.38 kB / 0.8344 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1965, allocations: 34.25 kB / 0.8344 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1965, allocations: 3.938 kB / 0.8345 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1965, allocations: 0 / 0.8345 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1965, allocations: 0 / 0.8345 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.1966, allocations: 7.938 kB / 0.8345 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.1968, allocations: 124.8 kB / 0.8346 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.545e-05/0.1968, allocations: 18.61 kB / 0.8346 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.1969, allocations: 12.86 kB / 0.8346 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001958/0.1988, allocations: 187.9 kB / 0.8348 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.1989, allocations: 30.56 kB / 0.8348 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.1989, allocations: 0 / 0.8348 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0006583/0.1995, allocations: 185.1 kB / 0.835 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1996, allocations: 59.56 kB / 0.8351 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.1997, allocations: 97.84 kB / 0.8351 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1997, allocations: 25.7 kB / 0.8352 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.1998, allocations: 84.14 kB / 0.8352 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1998, allocations: 7.953 kB / 0.8353 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.1999, allocations: 17.72 kB / 0.8353 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2, allocations: 314.8 kB / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.2001, allocations: 4 kB / 0.8356 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.2001, allocations: 25.66 kB / 0.8356 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.2002, allocations: 25.72 kB / 0.8356 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.2002, allocations: 0 / 0.8356 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001395/0.2003, allocations: 57.58 kB / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2003, allocations: 9.812 kB / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2004, allocations: 0 / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.2004, allocations: 0 / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.2004, allocations: 16.05 kB / 0.8357 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2004, allocations: 0 / 0.8357 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.2005, allocations: 0 / 0.8357 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2005, allocations: 8 kB / 0.8357 GB, free: 5.398 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.2005, allocations: 110.4 kB / 0.8358 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.2006, allocations: 7.938 kB / 0.8358 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.2007, allocations: 53.7 kB / 0.8359 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2007, allocations: 48 / 0.8359 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2007, allocations: 7.984 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2007, allocations: 3.984 kB / 0.8359 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2008, allocations: 124.8 kB / 0.836 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2008, allocations: 4 kB / 0.836 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.2009, allocations: 4 kB / 0.836 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2009, allocations: 3.938 kB / 0.836 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.2009, allocations: 0 / 0.836 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2009, allocations: 0 / 0.836 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2009, allocations: 0 / 0.836 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.201, allocations: 85.06 kB / 0.8361 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.201, allocations: 7.891 kB / 0.8361 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2011, allocations: 7.922 kB / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.2011, allocations: 4.031 kB / 0.8361 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.2011, allocations: 4 kB / 0.8361 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2011, allocations: 0 / 0.8361 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.2012, allocations: 79.28 kB / 0.8362 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2012, allocations: 0 / 0.8362 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002368/0.2014, allocations: 35.86 kB / 0.8362 GB, free: 4.781 MB / 0.5762 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 (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.0005481/0.2019, allocations: 0.6475 MB / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.202, allocations: 11.98 kB / 0.8369 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.202, allocations: 4 kB / 0.8369 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.2021, allocations: 11.94 kB / 0.8369 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.2022, allocations: 7.031 kB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2035, allocations: 1.15 MB / 0.838 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.204, allocations: 0.6729 MB / 0.8387 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.204, allocations: 12.05 kB / 0.8387 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.204, allocations: 11.44 kB / 0.8387 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.204, allocations: 0 / 0.8387 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.2376, allocations: 2.246 MB / 0.8409 GB, free: 32 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.98, allocations: 2.812 kB / 0.8409 GB, free: 32 kB / 0.5762 GB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.085272013908252] Failed to read output from testmodel.py, exit status != 0: 11.08070286293514 11.105377743 10.905291212 Calling exit ...