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.0007907/0.0007907, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009598/0.0009598, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9707/0.9707, allocations: 230.6 MB / 256 MB, free: 9.621 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.7808/0.7808, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.000984/0.000984, allocations: 69.83 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5304, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00189/0.5323, allocations: 1.468 MB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.5329, allocations: 485.7 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.5329, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.533, allocations: 3.062 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.533, allocations: 7.875 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.5332, allocations: 18.97 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.5333, allocations: 29.44 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.5334, allocations: 6 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.5334, allocations: 12.41 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.5335, allocations: 14.44 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.5335, allocations: 3.219 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.554e-05/0.5335, allocations: 14.14 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.5335, allocations: 5.406 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.5336, allocations: 12.12 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.5337, allocations: 36.92 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5337, allocations: 0.5625 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5337, allocations: 1.062 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.5337, allocations: 0 / 0.8198 GB, free: 15.65 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.0003341/0.534, allocations: 272.9 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.534, allocations: 8.344 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.5341, allocations: 32.39 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.5342, allocations: 18.47 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.5343, allocations: 111 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5343, allocations: 0.9844 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.5343, allocations: 3.938 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.5344, allocations: 59.58 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5345, allocations: 0.5156 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.5345, allocations: 4 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5345, allocations: 0 / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.5346, allocations: 38.09 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.5348, allocations: 220.7 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.5349, allocations: 39.33 kB / 0.8206 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.535, allocations: 29.69 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.535, allocations: 0 / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.535, allocations: 38.69 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.535, allocations: 0 / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.5353, allocations: 93.09 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.5353, allocations: 51.41 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/0.5353, allocations: 104.1 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.5353, allocations: 27.73 kB / 0.8209 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.5354, allocations: 80.84 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.5354, allocations: 10.39 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.5354, allocations: 19.27 kB / 0.8211 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.5355, allocations: 315.4 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.5355, allocations: 25.08 kB / 0.8214 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.5356, allocations: 16.72 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.695e-05/0.5357, allocations: 42.16 kB / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5357, allocations: 0 / 0.8214 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.5358, allocations: 73.83 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.5358, allocations: 5.969 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5358, allocations: 0.75 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5358, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.5359, allocations: 10.06 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5359, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.5359, allocations: 11.08 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.5359, allocations: 2.375 kB / 0.8215 GB, free: 14.09 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 4.728e-05/0.536, allocations: 119 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.536, allocations: 5.953 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.536, allocations: 9.188 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.536, allocations: 1.312 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.536, allocations: 4.609 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.536, allocations: 0 / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5361, allocations: 138.7 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5361, allocations: 1.25 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.5362, allocations: 13.02 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5362, allocations: 2.5 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5362, allocations: 0 / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.5362, allocations: 0 / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5362, allocations: 0.7031 kB / 0.8218 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.5363, allocations: 170.1 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-06/0.5363, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.5363, allocations: 8.672 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.5364, allocations: 10.67 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.5364, allocations: 8.562 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.5364, allocations: 3.938 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.641e-05/0.5364, allocations: 82 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5364, allocations: 0 / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001353/0.5365, allocations: 9.062 kB / 0.8221 GB, free: 13.54 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.0003064/0.5369, allocations: 0.6938 MB / 0.8228 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.537, allocations: 45.05 kB / 0.8228 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.537, allocations: 0 / 0.8228 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.537, allocations: 21.47 kB / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.5372, allocations: 10.19 kB / 0.8228 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.5375, allocations: 144.6 kB / 0.823 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.5376, allocations: 59.56 kB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.5376, allocations: 4.734 kB / 0.823 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.5376, allocations: 16.84 kB / 0.8231 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5376, allocations: 0 / 0.8231 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.5519, allocations: 1.958 MB / 0.825 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.557/7.109, allocations: 7.281 kB / 0.825 GB, free: 11.75 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.030941864009947] Failed to read output from testmodel.py, exit status != 0: 7.1863977471366525 7.201004686 6.664870448 Calling exit ...