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.0007696/0.0007696, 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.0007525/0.0007525, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8739/0.8739, 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.7163/0.7163, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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 2.104e-06/2.104e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.579e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002213/0.002238, allocations: 1.452 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.002844, allocations: 482.8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.002876, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.0029, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.002965, allocations: 7.922 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.003188, allocations: 23.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.003251, allocations: 35.8 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.003346, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.761e-05/0.003414, allocations: 15.92 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.003446, allocations: 11.98 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.003461, allocations: 4 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.003517, allocations: 11.98 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.003532, allocations: 7.938 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.003549, allocations: 7.984 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.003651, allocations: 27.95 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003654, allocations: 4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003655, allocations: 4 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.00366, allocations: 0 / 0.6202 GB, free: 11.55 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.0003394/0.004, allocations: 266.2 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.004037, allocations: 12.03 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.004063, allocations: 34.73 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.004082, allocations: 0.9375 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.461e-05/0.004156, allocations: 121.7 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.004165, allocations: 384 / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.004173, allocations: 4.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.004293, allocations: 54.23 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.004299, allocations: 192 / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.004306, allocations: 4.125 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004311, allocations: 0 / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.004392, allocations: 31.97 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.00465, allocations: 216 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/0.004728, allocations: 42.48 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.004773, allocations: 28.84 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.004843, allocations: 4 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.004861, allocations: 34.56 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.004862, allocations: 0 / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002114/0.005073, allocations: 81.64 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.005102, allocations: 55.34 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.005164, allocations: 105.8 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005174, allocations: 29.83 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.00521, allocations: 80.14 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.005227, allocations: 3.953 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.005253, allocations: 21.7 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.005327, allocations: 310.8 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.00537, allocations: 19.98 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.005403, allocations: 11.98 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.005477, allocations: 44.88 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005479, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001029/0.005582, allocations: 69.86 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005594, allocations: 7.938 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.0056, allocations: 7.922 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.005612, allocations: 7.984 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.005675, allocations: 8 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005679, allocations: 3.938 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.005703, allocations: 12.02 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005707, allocations: 0 / 0.6218 GB, free: 9.652 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.073e-05/0.005758, allocations: 110.8 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.005771, allocations: 7.891 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.005901, allocations: 76.92 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005903, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.005908, allocations: 3.984 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.00591, allocations: 4.031 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.006033, allocations: 120.8 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006035, allocations: 3.938 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.006069, allocations: 11.98 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.006071, allocations: 3.938 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.006076, allocations: 0 / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.006077, allocations: 0 / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006078, allocations: 0 / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006205, allocations: 167.5 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.006212, allocations: 7.969 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.006222, allocations: 3.984 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.006257, allocations: 4 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.006288, allocations: 3.984 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.006291, allocations: 4 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.006319, allocations: 83.28 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006319, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001451/0.006464, allocations: 7.938 kB / 0.6224 GB, free: 8.965 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.0003342/0.006798, allocations: 0.7045 MB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.006912, allocations: 35.95 kB / 0.6231 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006913, allocations: 0 / 0.6231 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.006949, allocations: 15.98 kB / 0.6231 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.007171, allocations: 13.86 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.007473, allocations: 138.6 kB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.007512, allocations: 63.34 kB / 0.6234 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.007532, allocations: 8.125 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.007564, allocations: 12.5 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.007564, allocations: 0 / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.02465, allocations: 2.098 MB / 0.6254 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.75, allocations: 2.188 kB / 0.6254 GB, free: 5.938 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.370996326208115] Failed to read output from testmodel.py, exit status != 0: 6.830936027690768 6.839467085 6.834106167 Calling exit ...