Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.001041/0.001041, 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.0007957/0.0007957, 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.9093/0.9093, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7186/0.7186, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.6181 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.302e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002278/0.002301, allocations: 0.9975 MB / 0.6191 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003642, allocations: 1.026 MB / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.003745, allocations: 0 / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.003868, allocations: 19.73 kB / 0.6201 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.003918, allocations: 27.72 kB / 0.6201 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.004188, allocations: 78.16 kB / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.004348, allocations: 184 kB / 0.6204 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.004484, allocations: 52.52 kB / 0.6204 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.004597, allocations: 107.8 kB / 0.6205 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.004833, allocations: 59.78 kB / 0.6206 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.004857, allocations: 16 kB / 0.6206 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-05/0.004904, allocations: 23.94 kB / 0.6206 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.004935, allocations: 39.89 kB / 0.6207 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.004975, allocations: 47.84 kB / 0.6207 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.005162, allocations: 199.3 kB / 0.6209 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005165, allocations: 4 kB / 0.6209 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005166, allocations: 0 / 0.6209 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.00517, allocations: 0 / 0.6209 GB, free: 9.645 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005576/0.005727, allocations: 434.3 kB / 0.6213 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.005763, allocations: 9.469 kB / 0.6213 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.005798, allocations: 46.73 kB / 0.6214 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.005868, allocations: 20.84 kB / 0.6214 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.006068, allocations: 167.9 kB / 0.6216 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.006081, allocations: 8.375 kB / 0.6216 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.006105, allocations: 20.38 kB / 0.6216 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.006322, allocations: 175.7 kB / 0.6217 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.006329, allocations: 192 / 0.6217 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.006344, allocations: 11.94 kB / 0.6218 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006349, allocations: 4 kB / 0.6218 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.006507, allocations: 107.9 kB / 0.6219 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.007161, allocations: 479.2 kB / 0.6223 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.007421, allocations: 134.7 kB / 0.6225 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.007519, allocations: 80.77 kB / 0.6225 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.00754, allocations: 4 kB / 0.6225 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.00771, allocations: 156.9 kB / 0.6227 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=19): time 1.113e-06/0.007711, allocations: 0 / 0.6227 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19): time 0.0003338/0.008045, allocations: 228.7 kB / 0.6229 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.008069, allocations: 55.34 kB / 0.623 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.00816, allocations: 154.3 kB / 0.6231 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.008177, allocations: 29.7 kB / 0.6231 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.008228, allocations: 120.5 kB / 0.6232 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.008267, allocations: 71.42 kB / 0.6233 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.008313, allocations: 45.7 kB / 0.6234 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.008393, allocations: 326.8 kB / 0.6237 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.008505, allocations: 63.91 kB / 0.6237 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.008627, allocations: 89.66 kB / 0.6238 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.008818, allocations: 142.2 kB / 0.6239 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00882, allocations: 4 kB / 0.624 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002674/0.009088, allocations: 211.1 kB / 0.6242 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.009099, allocations: 10.19 kB / 0.6242 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009103, allocations: 0 / 0.6242 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.009114, allocations: 0 / 0.6242 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.009213, allocations: 43.91 kB / 0.6242 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.009217, allocations: 0 / 0.6242 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.009285, allocations: 39.84 kB / 0.6242 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.009294, allocations: 4 kB / 0.6242 GB, free: 6.004 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.372e-05/0.009368, allocations: 130.8 kB / 0.6244 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.009381, allocations: 15.91 kB / 0.6244 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.009628, allocations: 186.7 kB / 0.6246 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.00963, allocations: 0 / 0.6246 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.009634, allocations: 0 / 0.6246 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.009637, allocations: 8 kB / 0.6246 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.01012, allocations: 0.5374 MB / 0.6251 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01012, allocations: 8 kB / 0.6251 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.01021, allocations: 27.98 kB / 0.6251 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01021, allocations: 12.12 kB / 0.6251 GB, free: 5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01023, allocations: 11.98 kB / 0.6252 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01023, allocations: 3.938 kB / 0.6252 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01023, allocations: 4 kB / 0.6252 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.01058, allocations: 374.2 kB / 0.6255 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.0106, allocations: 19.89 kB / 0.6255 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.01061, allocations: 15.92 kB / 0.6256 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.01069, allocations: 23.92 kB / 0.6256 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.01073, allocations: 19.97 kB / 0.6256 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01074, allocations: 8 kB / 0.6256 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.0108, allocations: 122.1 kB / 0.6257 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.0108, allocations: 0 / 0.6257 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001869/0.01099, allocations: 35.95 kB / 0.6258 GB, free: 4.344 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0005062/0.01149, allocations: 0.9193 MB / 0.6267 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.01174, allocations: 151.9 kB / 0.6268 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01174, allocations: 0 / 0.6268 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.01185, allocations: 83.84 kB / 0.6269 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01207, allocations: 32.41 kB / 0.6269 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.01375, allocations: 2.121 MB / 0.629 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.01382, allocations: 112.3 kB / 0.6291 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.105e-05/0.01387, allocations: 21.48 kB / 0.6291 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.01394, allocations: 48.48 kB / 0.6292 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.01394, allocations: 0 / 0.6292 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.03283, allocations: 4.385 MB / 0.6334 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.043, allocations: 12.69 kB / 0.6334 GB, free: 12.46 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.913728496991098] Failed to read output from testmodel.py, exit status != 0: 7.124899037182331 7.421968111 7.127108483 Calling exit ...