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.000879/0.000879, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.002695/0.002695, allocations: 213.8 kB / 22.25 MB, free: 3.711 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 0.9632/0.9632, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.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.8247/0.8247, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [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: IDEAS 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.001071/0.001071, allocations: 71.98 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5978, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001396/0.5992, allocations: 0.6009 MB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.592e-05/0.5993, allocations: 8.281 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.5993, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.5993, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.5993, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.348e-05/0.5994, allocations: 4 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.5994, allocations: 2.094 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.5995, allocations: 0.6094 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.089e-05/0.5995, allocations: 0.7188 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.5995, allocations: 0 / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.5995, allocations: 0.7188 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-06/0.5995, allocations: 0 / 0.8184 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.5995, allocations: 4.812 kB / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.5996, allocations: 0 / 0.8184 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.227e-05/0.5996, allocations: 13 kB / 0.8184 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5996, allocations: 1.438 kB / 0.8184 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5996, allocations: 0.7031 kB / 0.8184 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5996, allocations: 0 / 0.8184 GB, free: 0.8711 MB / 0.6042 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.0001908/0.5998, allocations: 234.9 kB / 0.8187 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5999, allocations: 10.06 kB / 0.8187 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.5999, allocations: 31.59 kB / 0.8187 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.5999, allocations: 6.375 kB / 0.8187 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.115e-05/0.6, allocations: 110.9 kB / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.6, allocations: 384 / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.6, allocations: 384 / 0.8188 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.6001, allocations: 27.06 kB / 0.8188 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.6001, allocations: 3.938 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.6001, allocations: 3.312 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6001, allocations: 4.594 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.6001, allocations: 7.875 kB / 0.8189 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.721e-05/0.6002, allocations: 122.2 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.541e-05/0.6002, allocations: 17.98 kB / 0.819 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.6003, allocations: 7.328 kB / 0.819 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.6003, allocations: 0 / 0.819 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.6003, allocations: 37.11 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.6003, allocations: 0 / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.6004, allocations: 47.52 kB / 0.8191 GB, free: 116 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.6004, allocations: 53.97 kB / 0.8191 GB, free: 52 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.145e-05/0.6005, allocations: 89.86 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.6005, allocations: 25.7 kB / 0.8192 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.6005, allocations: 80.14 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.6005, allocations: 0.75 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.6006, allocations: 17.16 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.6007, allocations: 311.5 kB / 0.8196 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.6007, allocations: 4.031 kB / 0.8196 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.6007, allocations: 4.047 kB / 0.8196 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.6007, allocations: 6.547 kB / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6007, allocations: 0 / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.696e-05/0.6008, allocations: 43.81 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6008, allocations: 5.656 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6008, allocations: 3.938 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6008, allocations: 0.8906 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.6009, allocations: 7 kB / 0.8197 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.6009, allocations: 4.094 kB / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-06/0.6009, allocations: 0 / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.6009, allocations: 0.8906 kB / 0.8197 GB, free: 15.44 MB / 0.6198 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.325e-05/0.6009, allocations: 107.5 kB / 0.8198 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-06/0.6009, allocations: 0.6562 kB / 0.8198 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.601, allocations: 11.5 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.601, allocations: 1.562 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.601, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.601, allocations: 0.5156 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.812e-05/0.601, allocations: 120.2 kB / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.601, allocations: 0 / 0.8199 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.601, allocations: 2 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.601, allocations: 1.625 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.601, allocations: 4.594 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.601, allocations: 0 / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6011, allocations: 1.844 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.642e-05/0.6011, allocations: 68.05 kB / 0.82 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.6011, allocations: 2.25 kB / 0.82 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.6011, allocations: 8.578 kB / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-06/0.6011, allocations: 0 / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.6011, allocations: 2.078 kB / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.6012, allocations: 0 / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.6012, allocations: 75.28 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6012, allocations: 3.938 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001185/0.6013, allocations: 4 kB / 0.8201 GB, free: 14.99 MB / 0.6198 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.0006228/0.6019, allocations: 0.5914 MB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.246e-05/0.602, allocations: 4.156 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.602, allocations: 0 / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.602, allocations: 3.453 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.6021, allocations: 2.484 kB / 0.8207 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.6025, allocations: 106.6 kB / 0.8208 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.6027, allocations: 0.6756 MB / 0.8215 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.6027, allocations: 0 / 0.8215 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.6027, allocations: 8.969 kB / 0.8215 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.6027, allocations: 0 / 0.8215 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.6212, allocations: 1.01 MB / 0.8225 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/8.078, allocations: 4 kB / 0.8225 GB, free: 13.14 MB / 0.6198 GB " [Timeout remaining time 652] (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: 11.096390530932695] Failed to read output from testmodel.py, exit status != 0: 8.152220079908147 8.163543231 7.561567323 Calling exit ...