Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008929/0.0008929, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008642/0.0008642, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9008/0.9008, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7285/0.7285, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.487e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001984/0.001999, allocations: 1.458 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006088/0.002608, allocations: 482.8 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.002639, allocations: 4 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.002665, allocations: 3.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.002717, allocations: 3.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.002912, allocations: 27.84 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.002977, allocations: 23.88 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.003062, allocations: 7.984 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.003127, allocations: 12 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.003166, allocations: 11.97 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.003179, allocations: 4 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.003241, allocations: 19.98 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.003256, allocations: 3.938 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.00327, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.003364, allocations: 39.94 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003366, allocations: 0 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003367, allocations: 0 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003371, allocations: 0 / 0.6201 GB, free: 11.56 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.0003257/0.003697, allocations: 270.2 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.003734, allocations: 8.031 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.003769, allocations: 38.75 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.003791, allocations: 0.9375 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.003876, allocations: 121.7 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.003885, allocations: 384 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.003893, allocations: 4.375 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004009, allocations: 42.25 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004016, allocations: 4.172 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004026, allocations: 8.125 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.00403, allocations: 0 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.004117, allocations: 35.97 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.004367, allocations: 216 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.004444, allocations: 42.5 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.004488, allocations: 24.78 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/0.004558, allocations: 7.984 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.004578, allocations: 34.56 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004579, allocations: 0 / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000209/0.004788, allocations: 85.58 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.004816, allocations: 51.41 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.004867, allocations: 105.8 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.004876, allocations: 25.7 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.004912, allocations: 88.14 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.004926, allocations: 3.953 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.004948, allocations: 9.719 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.005021, allocations: 319 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.00506, allocations: 19.97 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.005094, allocations: 15.98 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.005169, allocations: 36.83 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005171, allocations: 0 / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.442e-05/0.005265, allocations: 77.59 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005276, allocations: 6.031 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.00528, allocations: 4 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.005291, allocations: 0 / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.005345, allocations: 7.984 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.005349, allocations: 3.938 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.00537, allocations: 7.984 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005375, allocations: 4 kB / 0.6218 GB, free: 9.676 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 4.657e-05/0.005422, allocations: 110.8 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.005435, allocations: 11.92 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.005556, allocations: 77.17 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.005557, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.005562, allocations: 4 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005565, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.005667, allocations: 128.8 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005668, allocations: 7.875 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.005692, allocations: 7.984 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005693, allocations: 4.031 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.005701, allocations: 7.984 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005701, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005702, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.005816, allocations: 159.5 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.005822, allocations: 3.938 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.005832, allocations: 4 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.005868, allocations: 11.98 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.005899, allocations: 7.969 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.005901, allocations: 0 / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.005927, allocations: 83.27 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005927, allocations: 0 / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001424/0.006069, allocations: 11.94 kB / 0.6224 GB, free: 8.973 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.0003081/0.006377, allocations: 0.6967 MB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.006491, allocations: 39.98 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006494, allocations: 4 kB / 0.6231 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.006531, allocations: 19.92 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.006728, allocations: 6.516 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.00702, allocations: 138.5 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.007061, allocations: 59.34 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.007079, allocations: 8.062 kB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.007106, allocations: 12.5 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.007106, allocations: 0 / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.02163, allocations: 2.1 MB / 0.6254 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.854, allocations: 6.297 kB / 0.6254 GB, free: 5.949 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.712901446036994] Failed to read output from testmodel.py, exit status != 0: 6.933483794331551 6.943635018 6.938064396 Calling exit ...