Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.0009123/0.0009123, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001349/0.001349, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9709/0.9709, allocations: 230.6 MB / 256 MB, free: 9.625 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.8077/0.8077, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.001293/0.001293, allocations: 64.89 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6259, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002684/0.6286, allocations: 1.777 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.63, allocations: 0.6917 MB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.6301, allocations: 7.875 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.067e-05/0.6302, allocations: 14.5 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.743e-05/0.6303, allocations: 15.16 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006889/0.6309, allocations: 188.5 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.6312, allocations: 130.5 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.6314, allocations: 38.64 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.6316, allocations: 68.77 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.6317, allocations: 45.5 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.6317, allocations: 9.812 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.6318, allocations: 49.16 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.6319, allocations: 34.48 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.6319, allocations: 43.59 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.6323, allocations: 161.8 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6323, allocations: 0.5625 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6323, allocations: 4 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.6323, allocations: 0 / 0.821 GB, free: 15 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006642/0.6329, allocations: 367.8 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.633, allocations: 11.38 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.633, allocations: 39.7 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.6337, allocations: 132.1 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.634, allocations: 150.7 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.6341, allocations: 121.7 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.6341, allocations: 5.062 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.6345, allocations: 220.9 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6345, allocations: 0 / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6346, allocations: 0 / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.6346, allocations: 3.219 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.6349, allocations: 154.8 kB / 0.8221 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008326/0.6358, allocations: 441.3 kB / 0.8226 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.6364, allocations: 216 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.6366, allocations: 74.44 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.6367, allocations: 2.875 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.6367, allocations: 40.59 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.617e-06/0.6367, allocations: 4 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0007423/0.6374, allocations: 259.1 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.6375, allocations: 56.84 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.6376, allocations: 144.7 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.6377, allocations: 31.3 kB / 0.8233 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.6377, allocations: 105.9 kB / 0.8234 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.6378, allocations: 24.19 kB / 0.8235 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.6378, allocations: 24.2 kB / 0.8235 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6379, allocations: 321.2 kB / 0.8238 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.6381, allocations: 77.33 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.6384, allocations: 98.28 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.6388, allocations: 164.5 kB / 0.8241 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6388, allocations: 5.406 kB / 0.8241 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004456/0.6392, allocations: 205.3 kB / 0.8243 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6393, allocations: 5.781 kB / 0.8243 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6393, allocations: 0 / 0.8243 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6393, allocations: 6.016 kB / 0.8243 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.6394, allocations: 35.36 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6395, allocations: 1.719 kB / 0.8244 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.6396, allocations: 26 kB / 0.8244 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.6396, allocations: 3.469 kB / 0.8244 GB, free: 12.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.849e-05/0.6397, allocations: 119.8 kB / 0.8245 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.6397, allocations: 12.05 kB / 0.8245 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.6402, allocations: 204.6 kB / 0.8247 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.6402, allocations: 1.469 kB / 0.8247 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6402, allocations: 0 / 0.8247 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6402, allocations: 2.109 kB / 0.8247 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.6405, allocations: 207.6 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6405, allocations: 0.5156 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6406, allocations: 33.12 kB / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6406, allocations: 0 / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.6406, allocations: 2.625 kB / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6406, allocations: 0 / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6406, allocations: 0.6094 kB / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.6411, allocations: 295.9 kB / 0.8252 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.6411, allocations: 12.31 kB / 0.8252 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.6412, allocations: 4.562 kB / 0.8253 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.6413, allocations: 28.66 kB / 0.8253 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.6414, allocations: 5.312 kB / 0.8253 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6414, allocations: 6.797 kB / 0.8253 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.6414, allocations: 117.4 kB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.6414, allocations: 0 / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000199/0.6416, allocations: 24.45 kB / 0.8254 GB, free: 12.06 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 (6): * Single equations (assignments): 6 * 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.0006959/0.6423, allocations: 0.8183 MB / 0.8262 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.6428, allocations: 157.1 kB / 0.8264 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6428, allocations: 0.9688 kB / 0.8264 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.6429, allocations: 87.06 kB / 0.8265 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.6432, allocations: 14.22 kB / 0.8265 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6454, allocations: 1.848 MB / 0.8283 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.6455, allocations: 88.98 kB / 0.8284 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.145e-05/0.6456, allocations: 17.42 kB / 0.8284 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.6456, allocations: 31.62 kB / 0.8284 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.6456, allocations: 0 / 0.8284 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.668, allocations: 3.453 MB / 0.8318 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/7.459, allocations: 11.41 kB / 0.8318 GB, free: 8.812 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.550379242748022] Failed to read output from testmodel.py, exit status != 0: 7.540268725249916 7.550679495 6.916317793 Calling exit ...