Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.0007638/0.0007638, 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.0007884/0.0007884, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9565/0.9565, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7385/0.7385, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.562e-05, allocations: 4.953 kB / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002027/0.002053, allocations: 1.465 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006364/0.002689, allocations: 478.8 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.00272, allocations: 0 / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.002747, allocations: 3.984 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.002806, allocations: 3.938 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.003022, allocations: 19.92 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.003091, allocations: 31.91 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.003178, allocations: 7.938 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.003252, allocations: 11.98 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.003285, allocations: 8 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.003299, allocations: 4 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.003357, allocations: 15.92 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.003372, allocations: 4 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.00339, allocations: 11.98 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.003502, allocations: 35.83 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003504, allocations: 4 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003506, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.003511, allocations: 0 / 0.6201 GB, free: 11.58 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003567/0.003867, allocations: 270.3 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.003909, allocations: 9.469 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.003938, allocations: 30.75 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.004116, allocations: 16.91 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.004202, allocations: 109.8 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004214, allocations: 4.312 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004225, allocations: 384 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.004364, allocations: 54.23 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004372, allocations: 4.172 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.004383, allocations: 12.12 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004387, allocations: 0 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.66e-05/0.004484, allocations: 31.97 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.004807, allocations: 220 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.004901, allocations: 46.55 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.00495, allocations: 24.78 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.004969, allocations: 4 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.00499, allocations: 38.56 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.00499, allocations: 0 / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.005238, allocations: 85.58 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.005272, allocations: 55.41 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.005332, allocations: 105.8 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005343, allocations: 25.7 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.00538, allocations: 88.27 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.005398, allocations: 11.94 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.005427, allocations: 17.7 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.005503, allocations: 310.8 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.00555, allocations: 15.98 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.005591, allocations: 23.98 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.005678, allocations: 40.77 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00568, allocations: 4.062 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.005793, allocations: 77.59 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.005805, allocations: 4 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.005809, allocations: 0 / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.005821, allocations: 3.938 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.005905, allocations: 12.23 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.00591, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.005943, allocations: 11.98 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.005951, allocations: 8.016 kB / 0.6218 GB, free: 9.645 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 (2): * Single equations (assignments): 2 * 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.725e-05/0.006008, allocations: 118.8 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.006023, allocations: 7.891 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.00606, allocations: 7.312 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006062, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.006073, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.006077, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.006186, allocations: 124.8 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006188, allocations: 7.938 kB / 0.622 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.00623, allocations: 11.98 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.006232, allocations: 0 / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.00624, allocations: 4 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006242, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.006243, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.006398, allocations: 171.5 kB / 0.6222 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.006405, allocations: 3.938 kB / 0.6222 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.006416, allocations: 4 kB / 0.6222 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.006463, allocations: 12.02 kB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.006494, allocations: 4 kB / 0.6222 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.006499, allocations: 3.984 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.006525, allocations: 79.28 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006525, allocations: 0 / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000149/0.006674, allocations: 8 kB / 0.6223 GB, free: 9.016 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 (2): * Single equations (assignments): 2 * 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.0003263/0.007, allocations: 0.6967 MB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.007138, allocations: 47.92 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00714, allocations: 0 / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.007183, allocations: 19.98 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.00743, allocations: 11.92 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.007803, allocations: 138.5 kB / 0.6232 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.007851, allocations: 59.47 kB / 0.6233 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.007885, allocations: 8 kB / 0.6233 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.007932, allocations: 8.5 kB / 0.6233 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.007932, allocations: 0 / 0.6233 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.02581, allocations: 2.095 MB / 0.6253 GB, free: 6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/6.882, allocations: 3.391 kB / 0.6253 GB, free: 6 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.796772449277341] Failed to read output from testmodel.py, exit status != 0: 6.9661640878766775 6.982140186 6.975714947 Calling exit ...