Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.0008707/0.0008707, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001108/0.001108, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9147/0.9147, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7276/0.7276, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6181 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.336e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001281/0.001305, allocations: 0.5962 MB / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.338e-05/0.001348, allocations: 3.938 kB / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.001365, allocations: 0 / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.001393, allocations: 0 / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.001399, allocations: 4 kB / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.145e-05/0.001431, allocations: 0 / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.001481, allocations: 0 / 0.6186 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.001523, allocations: 3.984 kB / 0.6186 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.001552, allocations: 0 / 0.6186 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.014e-05/0.001572, allocations: 0 / 0.6186 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.001589, allocations: 4 kB / 0.6187 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.001593, allocations: 4 kB / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.001605, allocations: 0 / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.001623, allocations: 4 kB / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.903e-05/0.001672, allocations: 3.938 kB / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.001674, allocations: 0 / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.61e-07/0.001674, allocations: 0 / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.001678, allocations: 0 / 0.6187 GB, free: 12.93 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000208/0.001886, allocations: 236.5 kB / 0.6189 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.001924, allocations: 12.03 kB / 0.6189 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.00195, allocations: 30.75 kB / 0.6189 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.001969, allocations: 0.9375 kB / 0.6189 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.926e-05/0.002028, allocations: 109.7 kB / 0.619 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.00204, allocations: 4.375 kB / 0.619 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.002047, allocations: 384 / 0.619 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.038e-05/0.002127, allocations: 34.25 kB / 0.6191 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002134, allocations: 192 / 0.6191 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.002143, allocations: 4.359 kB / 0.6191 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.002149, allocations: 4.125 kB / 0.6191 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.002165, allocations: 4 kB / 0.6191 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.552e-05/0.00226, allocations: 112.8 kB / 0.6192 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.623e-05/0.002297, allocations: 18.61 kB / 0.6192 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.002317, allocations: 16.86 kB / 0.6192 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.002326, allocations: 0 / 0.6192 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.002346, allocations: 34.56 kB / 0.6193 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 4.51e-07/0.002347, allocations: 0 / 0.6193 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001039/0.002451, allocations: 33.69 kB / 0.6193 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.002482, allocations: 55.34 kB / 0.6193 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.584e-05/0.002508, allocations: 89.86 kB / 0.6194 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.002517, allocations: 25.7 kB / 0.6195 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.002536, allocations: 84.08 kB / 0.6195 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.002563, allocations: 4 kB / 0.6195 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.002584, allocations: 21.78 kB / 0.6196 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.002658, allocations: 310.8 kB / 0.6199 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.002672, allocations: 0 / 0.6199 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.002677, allocations: 4 kB / 0.6199 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.002698, allocations: 4.859 kB / 0.6199 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.0027, allocations: 4 kB / 0.6199 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.225e-05/0.002733, allocations: 41.62 kB / 0.6199 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.002744, allocations: 4 kB / 0.6199 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.002749, allocations: 0 / 0.6199 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.002759, allocations: 4.094 kB / 0.6199 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.002811, allocations: 4 kB / 0.6199 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.002816, allocations: 7.875 kB / 0.6199 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-06/0.002823, allocations: 0 / 0.6199 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.002827, allocations: 0 / 0.6199 GB, free: 11.44 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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.114e-05/0.002878, allocations: 110.8 kB / 0.62 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-06/0.002881, allocations: 0 / 0.62 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.002894, allocations: 6.953 kB / 0.62 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.002896, allocations: 0 / 0.62 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.002903, allocations: 11.92 kB / 0.6201 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.002906, allocations: 4 kB / 0.6201 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.084e-05/0.002957, allocations: 116.8 kB / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-07/0.002957, allocations: 4 kB / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.002961, allocations: 0 / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.002962, allocations: 0 / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.002967, allocations: 0 / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.002968, allocations: 0 / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.002969, allocations: 3.938 kB / 0.6202 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.148e-05/0.00301, allocations: 57.12 kB / 0.6202 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.003017, allocations: 7.891 kB / 0.6202 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.003026, allocations: 4 kB / 0.6202 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-06/0.00303, allocations: 7.969 kB / 0.6202 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.003041, allocations: 3.938 kB / 0.6203 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-07/0.003042, allocations: 0 / 0.6203 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.003062, allocations: 75.28 kB / 0.6203 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.003062, allocations: 0 / 0.6203 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001094/0.003172, allocations: 0 / 0.6203 GB, free: 10.96 MB / 0.5886 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 (1): * Single equations (assignments): 1 * 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.0002192/0.003391, allocations: 0.5883 MB / 0.6209 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.00345, allocations: 11.94 kB / 0.6209 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.003451, allocations: 4.094 kB / 0.6209 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.003455, allocations: 4 kB / 0.6209 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.42e-05/0.003549, allocations: 7.875 kB / 0.6209 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.00381, allocations: 102.7 kB / 0.621 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.003842, allocations: 55.3 kB / 0.6211 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.003853, allocations: 4 kB / 0.6211 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.003871, allocations: 8.5 kB / 0.6211 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.003871, allocations: 0 / 0.6211 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.0184, allocations: 1.52 MB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.817, allocations: 11.75 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.708738463930786] Failed to read output from testmodel.py, exit status != 0: 7.895744736306369 7.905651281 7.902297005 Calling exit ...