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.001211/0.001211, 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.0009437/0.0009437, allocations: 213.7 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.9249/0.9249, allocations: 230.6 MB / 256 MB, free: 9.805 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.7735/0.7735, 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.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: 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.001357/0.001357, allocations: 72.12 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5597/0.561, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001882/0.5629, allocations: 1.472 MB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.5635, allocations: 0.5132 MB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.5636, allocations: 0 / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.5636, allocations: 3.938 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.5637, allocations: 5.141 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.5639, allocations: 20.86 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.5639, allocations: 32.11 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.564, allocations: 3.766 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.5641, allocations: 18.23 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.5642, allocations: 12.77 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5642, allocations: 2.688 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.5642, allocations: 18.39 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.5643, allocations: 3.141 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.5643, allocations: 11.25 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.5644, allocations: 40.16 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5644, allocations: 0 / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5644, allocations: 4 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5644, allocations: 0 / 0.82 GB, free: 15.8 MB / 0.6198 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.0003315/0.5647, allocations: 266.4 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5648, allocations: 12.44 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.5648, allocations: 35.39 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.565, allocations: 16.28 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.5652, allocations: 115.8 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.5652, allocations: 384 / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.5652, allocations: 0.8906 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5654, allocations: 61.16 kB / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.5654, allocations: 0 / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.5654, allocations: 0 / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5654, allocations: 0.6094 kB / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.5655, allocations: 35.42 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.5658, allocations: 233 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.529e-05/0.5659, allocations: 43.64 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.5659, allocations: 21.55 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.566, allocations: 3.375 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.566, allocations: 35.44 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.566, allocations: 3.984 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.5662, allocations: 99.64 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.5662, allocations: 51.41 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.241e-05/0.5663, allocations: 104 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.5663, allocations: 26.36 kB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.5664, allocations: 80.84 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.5664, allocations: 9.766 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.5664, allocations: 17.8 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.5665, allocations: 316.2 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.5665, allocations: 19.53 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.5666, allocations: 18.81 kB / 0.8215 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.092e-05/0.5667, allocations: 44.05 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5667, allocations: 0 / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/0.5668, allocations: 75.09 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5668, allocations: 4.438 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5668, allocations: 0.5156 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5668, allocations: 3.5 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.5669, allocations: 8.531 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5669, allocations: 0 / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.5669, allocations: 10.7 kB / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.567, allocations: 0.7188 kB / 0.8217 GB, free: 14.22 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 (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.441e-05/0.567, allocations: 117.6 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.567, allocations: 1.969 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.5671, allocations: 8.109 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5671, allocations: 0.7188 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5671, allocations: 4.516 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5671, allocations: 1.844 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.5672, allocations: 140.4 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5672, allocations: 2.422 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.5672, allocations: 13.2 kB / 0.8219 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5672, allocations: 0 / 0.8219 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.5672, allocations: 6.453 kB / 0.8219 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.5672, allocations: 0 / 0.8219 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5672, allocations: 3.938 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.5674, allocations: 175 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.5674, allocations: 0.75 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.5674, allocations: 2.266 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.5674, allocations: 5.453 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.5675, allocations: 2.453 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.5675, allocations: 2.359 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.5675, allocations: 83.67 kB / 0.8222 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5675, allocations: 0 / 0.8222 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001408/0.5676, allocations: 14.03 kB / 0.8222 GB, free: 13.68 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 (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.0003203/0.568, allocations: 0.6922 MB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.5681, allocations: 48.86 kB / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5681, allocations: 0 / 0.8229 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.5682, allocations: 19.19 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.5684, allocations: 6.234 kB / 0.823 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.5688, allocations: 152.1 kB / 0.8231 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.5689, allocations: 0.6819 MB / 0.8238 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.569, allocations: 0.6562 kB / 0.8238 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.569, allocations: 11.33 kB / 0.8238 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.12e-07/0.569, allocations: 0 / 0.8238 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.584, allocations: 1.523 MB / 0.8253 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/7.191, allocations: 10.41 kB / 0.8253 GB, free: 11.69 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.05832060193643] Failed to read output from testmodel.py, exit status != 0: 7.268466169014573 7.278182448 6.711954836 Calling exit ...