Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.001533/0.001533, 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.0016/0.0016, 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.9186/0.9186, 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.738/0.738, allocations: 154.6 MB / 413.8 MB, free: 0.8164 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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6181 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.581e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002299/0.002325, allocations: 1.46 MB / 0.6195 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.002713, allocations: 191.4 kB / 0.6197 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.002748, allocations: 4 kB / 0.6197 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.002781, allocations: 3.938 kB / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.002821, allocations: 0 / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.003103, allocations: 35.89 kB / 0.6197 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.003178, allocations: 23.92 kB / 0.6198 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003283, allocations: 4 kB / 0.6198 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.00335, allocations: 15.92 kB / 0.6198 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.003391, allocations: 15.97 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.003409, allocations: 4 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.003489, allocations: 31.97 kB / 0.6198 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.003504, allocations: 0 / 0.6198 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.003524, allocations: 12 kB / 0.6198 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.003656, allocations: 59.72 kB / 0.6199 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003658, allocations: 0 / 0.6199 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00366, allocations: 0 / 0.6199 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003664, allocations: 0 / 0.6199 GB, free: 10.71 MB / 0.5417 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.0004265/0.004091, allocations: 266.3 kB / 0.6202 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.004136, allocations: 12.03 kB / 0.6202 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.004169, allocations: 30.75 kB / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.004198, allocations: 8.891 kB / 0.6202 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.004287, allocations: 109.7 kB / 0.6203 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004299, allocations: 4.375 kB / 0.6203 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.004308, allocations: 384 / 0.6203 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.004457, allocations: 50.23 kB / 0.6204 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004465, allocations: 192 / 0.6204 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004474, allocations: 384 / 0.6204 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.00448, allocations: 4.125 kB / 0.6204 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.751e-05/0.004577, allocations: 43.89 kB / 0.6204 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.00489, allocations: 208 kB / 0.6206 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.004986, allocations: 42.58 kB / 0.6207 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.005032, allocations: 24.91 kB / 0.6207 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.005092, allocations: 4 kB / 0.6207 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.005115, allocations: 38.48 kB / 0.6207 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.005116, allocations: 3.938 kB / 0.6207 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.005347, allocations: 89.55 kB / 0.6208 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.00538, allocations: 51.41 kB / 0.6209 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.005448, allocations: 105.8 kB / 0.621 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.005459, allocations: 25.7 kB / 0.621 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.005495, allocations: 84.08 kB / 0.6211 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.005512, allocations: 3.953 kB / 0.6211 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.00554, allocations: 21.7 kB / 0.6211 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.005621, allocations: 311 kB / 0.6214 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.005671, allocations: 23.98 kB / 0.6214 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.005707, allocations: 12.23 kB / 0.6214 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.005789, allocations: 44.75 kB / 0.6215 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.005791, allocations: 4 kB / 0.6215 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.005903, allocations: 73.67 kB / 0.6215 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.005917, allocations: 7.984 kB / 0.6215 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.005923, allocations: 0 / 0.6215 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005935, allocations: 0 / 0.6215 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.006005, allocations: 8 kB / 0.6215 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.006011, allocations: 0 / 0.6215 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.006036, allocations: 7.984 kB / 0.6216 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006041, allocations: 0 / 0.6216 GB, free: 8.828 MB / 0.5417 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 6.081e-05/0.006102, allocations: 110.8 kB / 0.6217 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.006115, allocations: 11.92 kB / 0.6217 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.006275, allocations: 84.84 kB / 0.6218 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006277, allocations: 0 / 0.6218 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.006281, allocations: 0 / 0.6218 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006284, allocations: 0 / 0.6218 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.00639, allocations: 124.8 kB / 0.6219 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006392, allocations: 0 / 0.6219 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.006419, allocations: 8 kB / 0.6219 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.006422, allocations: 7.969 kB / 0.6219 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.006428, allocations: 0 / 0.6219 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00643, allocations: 0 / 0.6219 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.006432, allocations: 3.984 kB / 0.6219 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.006561, allocations: 159.5 kB / 0.622 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.006571, allocations: 7.922 kB / 0.6221 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.006582, allocations: 3.938 kB / 0.6221 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.006617, allocations: 4 kB / 0.6221 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.006651, allocations: 3.984 kB / 0.6221 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006655, allocations: 8.031 kB / 0.6221 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.00669, allocations: 83.28 kB / 0.6221 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.00669, allocations: 3.938 kB / 0.6222 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000161/0.006851, allocations: 15.88 kB / 0.6222 GB, free: 8.125 MB / 0.5417 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.0003875/0.007238, allocations: 0.7046 MB / 0.6229 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.007367, allocations: 39.94 kB / 0.6229 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007369, allocations: 0 / 0.6229 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.007407, allocations: 19.98 kB / 0.6229 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.007655, allocations: 14.52 kB / 0.6229 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.008008, allocations: 134.5 kB / 0.6231 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.008056, allocations: 63.53 kB / 0.6231 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.913e-05/0.008075, allocations: 128 / 0.6231 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.008111, allocations: 16.5 kB / 0.6231 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/0.008111, allocations: 0 / 0.6231 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.02714, allocations: 2.109 MB / 0.6252 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/6.826, allocations: 6.484 kB / 0.6252 GB, free: 5.078 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.692104874178767] Failed to read output from testmodel.py, exit status != 0: 6.906303370371461 6.923244354 6.916549688 Calling exit ...