Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.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.0008285/0.0008285, 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.0008972/0.0008972, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9225/0.9225, 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 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.7436/0.7436, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.904e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00115/0.001169, allocations: 0.615 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.00146, allocations: 71.8 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.001482, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.00151, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.001553, allocations: 7.984 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.001844, allocations: 51.88 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.001905, allocations: 23.92 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.001943, allocations: 3.984 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.001983, allocations: 23.97 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.002159, allocations: 67.94 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.002173, allocations: 0 / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.002256, allocations: 51.86 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.002294, allocations: 12 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.002315, allocations: 11.94 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.002434, allocations: 75.77 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.002438, allocations: 4 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.51e-07/0.002439, allocations: 4 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.002443, allocations: 4 kB / 0.6191 GB, free: 12.64 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002975/0.00274, allocations: 282.2 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.002783, allocations: 13.47 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.002816, allocations: 42.73 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.002843, allocations: 4.938 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.415e-05/0.002897, allocations: 105.7 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.002908, allocations: 8.359 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.002915, allocations: 384 / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.003156, allocations: 440.9 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.003163, allocations: 4.188 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.003173, allocations: 3.938 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.003205, allocations: 23.98 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.003258, allocations: 43.83 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.003724, allocations: 0.8586 MB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.00379, allocations: 177.1 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.00382, allocations: 88.08 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.003845, allocations: 75.28 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.003884, allocations: 109.8 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.003885, allocations: 4 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.554e-05/0.00395, allocations: 33.66 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.004062, allocations: 399.7 kB / 0.6217 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.004171, allocations: 176.4 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.00419, allocations: 29.7 kB / 0.6219 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.004252, allocations: 151.5 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.004254, allocations: 0 / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.0043, allocations: 57.66 kB / 0.6221 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.004373, allocations: 322.8 kB / 0.6224 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.004402, allocations: 27.97 kB / 0.6224 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.004575, allocations: 479.6 kB / 0.6229 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.004698, allocations: 197.8 kB / 0.6231 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0047, allocations: 7.938 kB / 0.6231 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002028/0.004903, allocations: 193.1 kB / 0.6233 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.004914, allocations: 4 kB / 0.6233 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.004921, allocations: 8 kB / 0.6233 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.004937, allocations: 4.656 kB / 0.6233 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.005022, allocations: 39.92 kB / 0.6233 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.005032, allocations: 15.88 kB / 0.6233 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.005088, allocations: 27.84 kB / 0.6234 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.005099, allocations: 16 kB / 0.6234 GB, free: 7.664 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.534e-05/0.005194, allocations: 210 kB / 0.6236 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.005235, allocations: 116.9 kB / 0.6237 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.005268, allocations: 116.7 kB / 0.6238 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/0.005306, allocations: 176.3 kB / 0.624 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/0.005349, allocations: 184.2 kB / 0.6242 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.00539, allocations: 184.2 kB / 0.6243 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.005547, allocations: 392.2 kB / 0.6247 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/0.005574, allocations: 105 kB / 0.6248 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.005601, allocations: 105 kB / 0.6249 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-05/0.005645, allocations: 188.2 kB / 0.6251 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.005691, allocations: 180.4 kB / 0.6253 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.864e-05/0.005729, allocations: 184.2 kB / 0.6254 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-05/0.005771, allocations: 180.3 kB / 0.6256 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.005872, allocations: 315.7 kB / 0.6259 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.005905, allocations: 112.9 kB / 0.626 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.005955, allocations: 184.2 kB / 0.6262 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.006006, allocations: 105 kB / 0.6263 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.006051, allocations: 188.2 kB / 0.6265 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.006076, allocations: 104.9 kB / 0.6266 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.006135, allocations: 118.2 kB / 0.6267 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006135, allocations: 3.938 kB / 0.6267 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002118/0.006347, allocations: 32 kB / 0.6267 GB, free: 4.059 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 (0): * Single equations (assignments): 0 * 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.0003191/0.006666, allocations: 0.8242 MB / 0.6275 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.006787, allocations: 72.78 kB / 0.6276 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006788, allocations: 0 / 0.6276 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006789, allocations: 4 kB / 0.6276 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.007035, allocations: 473.8 kB / 0.628 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.007407, allocations: 270.3 kB / 0.6283 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.007459, allocations: 79.97 kB / 0.6284 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.007574, allocations: 52.91 kB / 0.6284 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.007606, allocations: 24.48 kB / 0.6285 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of SimCode: time 3.6e-07/0.007607, allocations: 0 / 0.6285 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.0266, allocations: 3.707 MB / 0.6321 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.829, allocations: 7.406 kB / 0.6321 GB, free: 14.68 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.604080937802792] Failed to read output from testmodel.py, exit status != 0: 6.910212081857026 6.921569085 6.917168531 Calling exit ...