Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.001224/0.001224, allocations: 109.1 kB / 16.46 MB, free: 6.453 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.001322/0.001322, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.377/1.377, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 281.3 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.168/1.168, allocations: 180.9 MB / 0.5333 GB, free: 13.87 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",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.002895/0.002895, allocations: 99.34 kB / 0.7342 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1657, allocations: 95.35 MB / 0.8273 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002183/0.1679, allocations: 1.286 MB / 0.8286 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1645/0.3324, allocations: 140.9 MB / 0.9662 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.3324, allocations: 0 / 0.9662 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3324, allocations: 3.938 kB / 0.9662 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.3325, allocations: 7.922 kB / 0.9662 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3338, allocations: 466.6 kB / 0.9667 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.3339, allocations: 39.89 kB / 0.9667 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.334, allocations: 0 / 0.9667 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.334, allocations: 31.86 kB / 0.9667 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.3341, allocations: 19.97 kB / 0.9668 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.3341, allocations: 0 / 0.9668 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3356, allocations: 0.8349 MB / 0.9676 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3356, allocations: 11.92 kB / 0.9676 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.3356, allocations: 19.92 kB / 0.9676 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.3363, allocations: 447 kB / 0.968 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3363, allocations: 3.984 kB / 0.968 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3363, allocations: 0 / 0.968 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3363, allocations: 3.938 kB / 0.968 GB, free: 9.258 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005933/0.3369, allocations: 371.2 kB / 0.9684 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3369, allocations: 12.03 kB / 0.9684 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.3369, allocations: 34.75 kB / 0.9684 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3371, allocations: 8.938 kB / 0.9684 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3372, allocations: 176.3 kB / 0.9686 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.3372, allocations: 384 / 0.9686 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.3373, allocations: 11.94 kB / 0.9686 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3374, allocations: 61.59 kB / 0.9687 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3374, allocations: 0 / 0.9687 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3375, allocations: 0 / 0.9687 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3375, allocations: 4 kB / 0.9687 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.381e-05/0.3375, allocations: 19.98 kB / 0.9687 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.3377, allocations: 161.7 kB / 0.9689 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3378, allocations: 50.48 kB / 0.9689 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.3379, allocations: 16.86 kB / 0.9689 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/0.3498, allocations: 3.201 MB / 0.9721 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3498, allocations: 38.48 kB / 0.9721 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.3498, allocations: 0 / 0.9721 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.3692/0.719, allocations: 15 MB / 0.9867 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.719, allocations: 54.2 kB / 0.9868 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.339e-05/0.719, allocations: 91.66 kB / 0.9869 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.7191, allocations: 38.11 kB / 0.9869 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.34e-05/0.7191, allocations: 82 kB / 0.987 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.7191, allocations: 46.92 kB / 0.987 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.7192, allocations: 31.8 kB / 0.9871 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.7192, allocations: 320.8 kB / 0.9874 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.7192, allocations: 19.45 kB / 0.9874 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.7193, allocations: 28.38 kB / 0.9874 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.7194, allocations: 61.84 kB / 0.9875 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.7194, allocations: 3.312 kB / 0.9875 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002022/0.7196, allocations: 108 kB / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7196, allocations: 5.312 kB / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.7196, allocations: 0 / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7196, allocations: 2.281 kB / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.7198, allocations: 28.06 kB / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7198, allocations: 0 / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.7198, allocations: 4.344 kB / 0.9876 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7198, allocations: 2.906 kB / 0.9876 GB, free: 150.8 MB / 0.7169 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 (14): * Single equations (assignments): 14 * 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 5.702e-05/0.7199, allocations: 131 kB / 0.9877 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.7199, allocations: 2.594 kB / 0.9877 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.7202, allocations: 123.2 kB / 0.9879 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7202, allocations: 2.125 kB / 0.9879 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7202, allocations: 1.031 kB / 0.9879 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7202, allocations: 0 / 0.9879 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.7203, allocations: 178.9 kB / 0.988 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7203, allocations: 4 kB / 0.988 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.7204, allocations: 23.06 kB / 0.9881 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7204, allocations: 1.125 kB / 0.9881 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7204, allocations: 9.906 kB / 0.9881 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7204, allocations: 0 / 0.9881 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7204, allocations: 1.062 kB / 0.9881 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.7207, allocations: 153.6 kB / 0.9882 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.7207, allocations: 91.09 kB / 0.9883 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7207, allocations: 8.844 kB / 0.9883 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.7209, allocations: 11.02 kB / 0.9883 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.7209, allocations: 13.28 kB / 0.9883 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.7209, allocations: 4.781 kB / 0.9883 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.721e-05/0.7209, allocations: 80.94 kB / 0.9884 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.7209, allocations: 0 / 0.9884 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001976/0.7229, allocations: 0.5723 MB / 0.989 GB, free: 150.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.003715/0.7266, allocations: 0.9412 MB / 0.9899 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.7268, allocations: 70.8 kB / 0.99 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7268, allocations: 0 / 0.99 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.7269, allocations: 34.33 kB / 0.99 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.7271, allocations: 8.906 kB / 0.99 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.729, allocations: 1.542 MB / 0.9915 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.515e-05/0.7291, allocations: 0.6936 MB / 0.9922 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.666e-05/0.7292, allocations: 20.22 kB / 0.9922 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.7292, allocations: 21.42 kB / 0.9922 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.7292, allocations: 1.312 kB / 0.9922 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05215/0.7814, allocations: 25.53 MB / 1.017 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/9.074, allocations: 11.45 kB / 1.017 GB, free: 125.4 MB / 0.7169 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.538178654387593] Failed to read output from testmodel.py, exit status != 0: 9.152158041018993 9.166177446 8.827092473 Calling exit ...