Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001141/0.001141, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001254/0.001254, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.633 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.8603/0.8603, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.001223/0.001223, allocations: 69.67 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5357, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001281/0.537, allocations: 0.5838 MB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002294/0.5373, allocations: 49.34 kB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.5373, allocations: 0 / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.5373, allocations: 4 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-06/0.5373, allocations: 3.531 kB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.5375, allocations: 14.77 kB / 0.8186 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.5376, allocations: 5.031 kB / 0.8186 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.5376, allocations: 3.938 kB / 0.8186 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.5376, allocations: 0.6562 kB / 0.8186 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.5377, allocations: 0 / 0.8186 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.5377, allocations: 0 / 0.8186 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.5378, allocations: 18.33 kB / 0.8186 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.5378, allocations: 1.812 kB / 0.8186 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.5378, allocations: 7.938 kB / 0.8186 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.5379, allocations: 23.48 kB / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5379, allocations: 0 / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5379, allocations: 0 / 0.8186 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5379, allocations: 2.281 kB / 0.8186 GB, free: 0.8359 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.0001885/0.5381, allocations: 236.6 kB / 0.8188 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5381, allocations: 8.781 kB / 0.8188 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.036e-05/0.5382, allocations: 30.75 kB / 0.8189 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.5384, allocations: 27.56 kB / 0.8189 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.348e-05/0.5384, allocations: 107.1 kB / 0.819 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.5384, allocations: 1.938 kB / 0.819 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.5384, allocations: 384 / 0.819 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5385, allocations: 35.64 kB / 0.819 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5385, allocations: 3.938 kB / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.5385, allocations: 0 / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5385, allocations: 1.125 kB / 0.819 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.5386, allocations: 12.36 kB / 0.8191 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.027e-05/0.5387, allocations: 123.2 kB / 0.8192 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.969e-05/0.5387, allocations: 23.8 kB / 0.8192 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.5387, allocations: 9.266 kB / 0.8192 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.5388, allocations: 3.984 kB / 0.8192 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.5388, allocations: 37.02 kB / 0.8192 GB, free: 128 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 4.21e-07/0.5388, allocations: 0 / 0.8192 GB, free: 128 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.5389, allocations: 55.33 kB / 0.8193 GB, free: 84 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.5389, allocations: 52.02 kB / 0.8193 GB, free: 20 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.056e-05/0.539, allocations: 89.86 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.539, allocations: 25.7 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.539, allocations: 87.19 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.5391, allocations: 2.375 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.5391, allocations: 20.83 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.5392, allocations: 311.6 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.5392, allocations: 4.969 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.5392, allocations: 4.188 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.5393, allocations: 23.11 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5393, allocations: 6.312 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.034e-05/0.5393, allocations: 38.16 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5394, allocations: 9.016 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5394, allocations: 3.938 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5394, allocations: 0 / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.5394, allocations: 8.594 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5394, allocations: 0 / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.5394, allocations: 1.172 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.5395, allocations: 7.594 kB / 0.82 GB, free: 15.41 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.455e-05/0.5395, allocations: 110.4 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-06/0.5395, allocations: 0 / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.5396, allocations: 11.92 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5396, allocations: 0 / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5396, allocations: 4.938 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5396, allocations: 4 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.5396, allocations: 120.8 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5396, allocations: 1.438 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.5397, allocations: 7.547 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5397, allocations: 0.5156 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5397, allocations: 5.094 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.5397, allocations: 1.438 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5397, allocations: 0 / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.5398, allocations: 64.92 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.5398, allocations: 5.906 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.5398, allocations: 8.484 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.5398, allocations: 6.406 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.5398, allocations: 0 / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.5398, allocations: 0.6094 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.5399, allocations: 75.28 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5399, allocations: 0 / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001169/0.54, allocations: 0 / 0.8204 GB, free: 14.95 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.0003077/0.5403, allocations: 0.6045 MB / 0.821 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/0.5404, allocations: 14.27 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5404, allocations: 1.625 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.5404, allocations: 11.22 kB / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.986e-05/0.5405, allocations: 0 / 0.821 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.5408, allocations: 113.8 kB / 0.8211 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.5409, allocations: 0.6697 MB / 0.8217 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.541, allocations: 2.156 kB / 0.8218 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.541, allocations: 12.09 kB / 0.8218 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.541, allocations: 1.281 kB / 0.8218 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.5553, allocations: 1.057 MB / 0.8228 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.336/6.891, allocations: 4 kB / 0.8228 GB, free: 13.1 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.084568770136684] Failed to read output from testmodel.py, exit status != 0: 6.969197623198852 6.979063262 6.439175769 Calling exit ...