Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.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.000786/0.000786, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.0008417/0.0008417, allocations: 214.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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.078/1.078, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.036/2.036, allocations: 0.5046 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009858/0.0009858, allocations: 69.81 kB / 1.177 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3651, allocations: 180 MB / 1.352 GB, free: 9.234 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002223/0.3673, allocations: 1.501 MB / 1.354 GB, free: 7.723 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.3676, allocations: 111.7 kB / 1.354 GB, free: 7.613 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.3677, allocations: 0 / 1.354 GB, free: 7.613 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.3677, allocations: 3.938 kB / 1.354 GB, free: 7.609 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.3678, allocations: 7.922 kB / 1.354 GB, free: 7.602 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.368, allocations: 27.91 kB / 1.354 GB, free: 7.574 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.3681, allocations: 43.91 kB / 1.354 GB, free: 7.531 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3682, allocations: 4 kB / 1.354 GB, free: 7.527 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.3683, allocations: 19.92 kB / 1.354 GB, free: 7.508 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.3683, allocations: 15.92 kB / 1.354 GB, free: 7.492 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3683, allocations: 11.94 kB / 1.354 GB, free: 7.48 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.3684, allocations: 19.98 kB / 1.354 GB, free: 7.461 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.3685, allocations: 15.92 kB / 1.354 GB, free: 7.445 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.3685, allocations: 19.86 kB / 1.354 GB, free: 7.426 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3686, allocations: 64.02 kB / 1.354 GB, free: 7.363 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3686, allocations: 0 / 1.354 GB, free: 7.363 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3686, allocations: 4 kB / 1.354 GB, free: 7.359 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3686, allocations: 0 / 1.354 GB, free: 7.359 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004407/0.3691, allocations: 299.8 kB / 1.355 GB, free: 7.035 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3691, allocations: 12.92 kB / 1.355 GB, free: 7.023 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.3692, allocations: 34.73 kB / 1.355 GB, free: 6.98 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.3694, allocations: 32.81 kB / 1.355 GB, free: 6.949 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.3695, allocations: 128.3 kB / 1.355 GB, free: 6.801 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3695, allocations: 4.375 kB / 1.355 GB, free: 6.797 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.3695, allocations: 384 / 1.355 GB, free: 6.797 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3697, allocations: 78.2 kB / 1.355 GB, free: 6.715 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3697, allocations: 7.938 kB / 1.355 GB, free: 6.707 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3697, allocations: 3.938 kB / 1.355 GB, free: 6.703 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3697, allocations: 4 kB / 1.355 GB, free: 6.699 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.3699, allocations: 79.91 kB / 1.355 GB, free: 6.621 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.3702, allocations: 255.9 kB / 1.355 GB, free: 6.328 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.3704, allocations: 74.53 kB / 1.355 GB, free: 6.246 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.3705, allocations: 44.91 kB / 1.355 GB, free: 6.199 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3705, allocations: 3.938 kB / 1.355 GB, free: 6.195 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3705, allocations: 34.56 kB / 1.355 GB, free: 6.152 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3705, allocations: 0 / 1.355 GB, free: 6.152 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0003336/0.3708, allocations: 157.5 kB / 1.355 GB, free: 5.992 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.371, allocations: 51.41 kB / 1.356 GB, free: 5.93 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.371, allocations: 125.8 kB / 1.356 GB, free: 5.797 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3711, allocations: 25.7 kB / 1.356 GB, free: 5.766 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.3711, allocations: 100.1 kB / 1.356 GB, free: 5.664 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3711, allocations: 7.891 kB / 1.356 GB, free: 5.656 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.3712, allocations: 13.72 kB / 1.356 GB, free: 5.637 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.3712, allocations: 322.8 kB / 1.356 GB, free: 5.312 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.3713, allocations: 39.97 kB / 1.356 GB, free: 5.273 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.3714, allocations: 39.89 kB / 1.356 GB, free: 5.234 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3715, allocations: 88.7 kB / 1.356 GB, free: 5.145 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3715, allocations: 0 / 1.356 GB, free: 5.145 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001836/0.3717, allocations: 117.6 kB / 1.356 GB, free: 5.023 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3717, allocations: 8 kB / 1.356 GB, free: 5.016 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3717, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3718, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.3719, allocations: 27.91 kB / 1.356 GB, free: 4.988 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3719, allocations: 0 / 1.356 GB, free: 4.988 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.3719, allocations: 15.98 kB / 1.356 GB, free: 4.973 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3719, allocations: 3.938 kB / 1.356 GB, free: 4.969 MB / 1.042 GB 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.29e-05/0.372, allocations: 122.2 kB / 1.357 GB, free: 4.84 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.372, allocations: 3.953 kB / 1.357 GB, free: 4.836 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.372, allocations: 15.98 kB / 1.357 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.372, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.372, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.372, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.3722, allocations: 148.7 kB / 1.357 GB, free: 4.629 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3722, allocations: 0 / 1.357 GB, free: 4.629 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.3722, allocations: 19.98 kB / 1.357 GB, free: 4.609 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3722, allocations: 0 / 1.357 GB, free: 4.609 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3722, allocations: 0 / 1.357 GB, free: 4.609 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3722, allocations: 4 kB / 1.357 GB, free: 4.605 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3722, allocations: 0 / 1.357 GB, free: 4.605 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.3724, allocations: 219.3 kB / 1.357 GB, free: 4.375 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.3725, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3725, allocations: 4 kB / 1.357 GB, free: 4.371 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.3725, allocations: 15.92 kB / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3726, allocations: 11.98 kB / 1.357 GB, free: 4.344 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.3726, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.3726, allocations: 98.02 kB / 1.357 GB, free: 4.25 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3726, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001436/0.3728, allocations: 8 kB / 1.357 GB, free: 4.242 MB / 1.042 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.0004231/0.3732, allocations: 0.7518 MB / 1.358 GB, free: 3.465 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3734, allocations: 87.88 kB / 1.358 GB, free: 3.379 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3734, allocations: 0 / 1.358 GB, free: 3.379 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.3735, allocations: 39.95 kB / 1.358 GB, free: 3.34 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.3737, allocations: 14.53 kB / 1.358 GB, free: 3.328 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.3741, allocations: 183.2 kB / 1.358 GB, free: 3.109 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.3742, allocations: 75.33 kB / 1.358 GB, free: 3.016 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.3742, allocations: 4 kB / 1.358 GB, free: 3.012 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.3742, allocations: 11.44 kB / 1.358 GB, free: 3 MB / 1.042 GB Notification: Performance of SimCode: time 6.31e-07/0.3742, allocations: 8 kB / 1.358 GB, free: 2.992 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08308/0.4573, allocations: 2.427 MB / 1.361 GB, free: 0.6953 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/7.349, allocations: 11.03 kB / 1.361 GB, free: 0.6875 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.15978010930121]