Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.0009145/0.0009145, 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.001189/0.001189, allocations: 169.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.8526/0.8526, 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.7029/0.7029, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.422e-05/4.657e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001254/0.0013, allocations: 0.5945 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.001536, allocations: 47.81 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.001552, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.001568, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-06/0.001576, allocations: 4 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.001849, allocations: 15.86 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.001903, allocations: 7.984 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.001957, allocations: 3.984 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.001983, allocations: 3.938 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.002006, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.002019, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.002117, allocations: 19.98 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.002129, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.002146, allocations: 4 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.499e-05/0.002241, allocations: 27.95 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002243, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002244, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.002249, allocations: 0 / 0.6189 GB, free: 12.87 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.0002368/0.002486, allocations: 234.4 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.002525, allocations: 12.03 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.002553, allocations: 34.73 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.002739, allocations: 16.91 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.905e-05/0.002798, allocations: 101.8 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.002815, allocations: 12.38 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.002823, allocations: 384 / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.002944, allocations: 34.25 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.002953, allocations: 4.125 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.00296, allocations: 384 / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.002965, allocations: 4.125 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.003012, allocations: 7.984 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.771e-05/0.00311, allocations: 116.8 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.003161, allocations: 26.59 kB / 0.6194 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.003189, allocations: 12.92 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.003206, allocations: 0 / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.003223, allocations: 34.55 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003223, allocations: 0 / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.003374, allocations: 45.62 kB / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.003403, allocations: 55.34 kB / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.398e-05/0.003427, allocations: 97.73 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.003436, allocations: 29.83 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/0.003454, allocations: 84.14 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.003476, allocations: 3.984 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.003498, allocations: 13.72 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.003572, allocations: 314.8 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.003595, allocations: 0 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.003614, allocations: 7.984 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.003665, allocations: 20.84 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.003667, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.907e-05/0.003726, allocations: 41.69 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.003737, allocations: 8 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.003741, allocations: 0 / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.003751, allocations: 0 / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.003804, allocations: 7.984 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.003813, allocations: 3.938 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.003827, allocations: 0 / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.003832, allocations: 4.031 kB / 0.6202 GB, free: 11.3 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.148e-05/0.003884, allocations: 110.8 kB / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-06/0.003887, allocations: 0 / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.003912, allocations: 6.953 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.003914, allocations: 3.984 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.00392, allocations: 7.922 kB / 0.6203 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.003923, allocations: 0 / 0.6203 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.468e-05/0.003977, allocations: 116.8 kB / 0.6204 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003978, allocations: 0 / 0.6204 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.003993, allocations: 4 kB / 0.6204 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.003994, allocations: 11.94 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.004001, allocations: 3.984 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.004001, allocations: 0 / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.004002, allocations: 3.938 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.328e-05/0.004076, allocations: 69.08 kB / 0.6205 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-06/0.004079, allocations: 0 / 0.6205 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-06/0.004086, allocations: 0 / 0.6205 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.004099, allocations: 7.984 kB / 0.6205 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.00411, allocations: 3.938 kB / 0.6205 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.004112, allocations: 7.969 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.906e-05/0.004131, allocations: 75.28 kB / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004131, allocations: 0 / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001133/0.004244, allocations: 0 / 0.6206 GB, free: 10.81 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.0002463/0.00449, allocations: 0.5968 MB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.131e-05/0.004572, allocations: 11.98 kB / 0.6212 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.004574, allocations: 12.03 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.004592, allocations: 4 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.426e-05/0.004686, allocations: 9.641 kB / 0.6212 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.004937, allocations: 114.6 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.004967, allocations: 55.36 kB / 0.6214 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.004991, allocations: 4.062 kB / 0.6214 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.005016, allocations: 12.5 kB / 0.6214 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.005016, allocations: 0 / 0.6214 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.01846, allocations: 1.581 MB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.695, allocations: 2.656 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep_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_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.392273634672165] Failed to read output from testmodel.py, exit status != 0: 6.772505733184516 6.780088014 6.776083155 Calling exit ...