Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001146/0.001146, 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.00138/0.00138, allocations: 170.3 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.9556/0.9556, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7434/0.7434, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.471e-05, allocations: 8.062 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001922/0.001946, allocations: 0.6 MB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 5.195e-05/0.001998, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.00202, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.002054, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.002062, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.669e-05/0.002098, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.00216, allocations: 7.984 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.002213, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.002248, allocations: 4 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.002268, allocations: 4 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.002289, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-06/0.002292, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.002305, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.002324, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.918e-05/0.002383, allocations: 3.984 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002385, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.833e-06/0.002387, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.002391, allocations: 0 / 0.6186 GB, free: 13.16 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.0002825/0.002674, allocations: 230.5 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.002721, allocations: 13.5 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.002754, allocations: 38.75 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.002775, allocations: 0.9375 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.828e-05/0.002834, allocations: 109.7 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.002844, allocations: 384 / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.002853, allocations: 8.312 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.002944, allocations: 26.27 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.002952, allocations: 192 / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00296, allocations: 384 / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.002967, allocations: 4.125 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.002985, allocations: 4 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.003102, allocations: 120.8 kB / 0.6191 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.263e-05/0.003145, allocations: 22.55 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.003166, allocations: 4.859 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.003176, allocations: 0 / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.003198, allocations: 38.61 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003198, allocations: 0 / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.003327, allocations: 33.7 kB / 0.6192 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.003361, allocations: 59.28 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.756e-05/0.003389, allocations: 89.86 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.003399, allocations: 29.77 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.724e-05/0.003416, allocations: 84.14 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.003443, allocations: 4 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.003465, allocations: 9.719 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.003596, allocations: 310.8 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.003612, allocations: 4 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.003618, allocations: 3.984 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.003643, allocations: 12.86 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003645, allocations: 0 / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.207e-05/0.003687, allocations: 33.69 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.003701, allocations: 10.12 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.003706, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.003718, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.003775, allocations: 7.938 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.003781, allocations: 3.938 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-06/0.003788, allocations: 0 / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.003794, allocations: 4 kB / 0.6199 GB, free: 11.67 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 4.969e-05/0.003844, allocations: 110.8 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.003849, allocations: 3.984 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.003866, allocations: 7 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.003868, allocations: 4 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.003874, allocations: 7.875 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.003877, allocations: 0 / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.454e-05/0.003931, allocations: 116.8 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.003932, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-06/0.003938, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.003939, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.003944, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.003947, allocations: 3.984 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.003949, allocations: 7.938 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.147e-05/0.004001, allocations: 57.08 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.004009, allocations: 15.89 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-06/0.004017, allocations: 0 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-06/0.00402, allocations: 0 / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.004033, allocations: 3.938 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.004035, allocations: 3.984 kB / 0.6202 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.004055, allocations: 75.28 kB / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004055, allocations: 0 / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001216/0.004177, allocations: 4 kB / 0.6203 GB, free: 11.18 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.0002272/0.004404, allocations: 0.5813 MB / 0.6208 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.794e-05/0.004472, allocations: 15.86 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.004474, allocations: 0 / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.004478, allocations: 4 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.004582, allocations: 3.938 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.004847, allocations: 105.8 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.004884, allocations: 55.36 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.292e-05/0.004897, allocations: 0 / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.004918, allocations: 8.5 kB / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/0.004919, allocations: 128 / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.02267, allocations: 1.523 MB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/6.909, allocations: 14.5 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.86108723655343] Failed to read output from testmodel.py, exit status != 0: 6.992312218993902 7.002701171 6.998406457 Calling exit ...