Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.0007734/0.0007734, allocations: 109.9 kB / 18.93 MB, free: 1.277 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.0009124/0.0009124, allocations: 219.2 kB / 22.26 MB, free: 3.699 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.9933/0.9933, allocations: 230.6 MB / 256 MB, free: 9.82 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.813/0.813, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",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.001265/0.001265, allocations: 61.41 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5482, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001798/0.55, allocations: 1.274 MB / 0.8191 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.5535, allocations: 3.365 MB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.5535, allocations: 0 / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.5535, allocations: 4.5 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.5536, allocations: 5.203 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.554, allocations: 111.4 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.5541, allocations: 38.28 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.5541, allocations: 3.203 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.5542, allocations: 21.67 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.5542, allocations: 22.72 kB / 0.8226 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.5542, allocations: 0 / 0.8226 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.5544, allocations: 80.94 kB / 0.8226 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.5544, allocations: 11.69 kB / 0.8227 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.5545, allocations: 15.64 kB / 0.8227 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.5546, allocations: 72.53 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5546, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5546, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5546, allocations: 0 / 0.8227 GB, free: 13.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002892/0.5549, allocations: 272.2 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.555, allocations: 7.344 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.555, allocations: 41.36 kB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.5551, allocations: 9.594 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.032e-05/0.5551, allocations: 104.8 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.5551, allocations: 3 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.5552, allocations: 11.73 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.5552, allocations: 54.38 kB / 0.8232 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-06/0.5552, allocations: 0 / 0.8232 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.5553, allocations: 0.7969 kB / 0.8232 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5553, allocations: 6.047 kB / 0.8232 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.5553, allocations: 20.34 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.5554, allocations: 145.2 kB / 0.8234 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.5555, allocations: 51.39 kB / 0.8234 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.5555, allocations: 15.89 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004121/0.5559, allocations: 248.6 kB / 0.8237 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.5559, allocations: 36.34 kB / 0.8237 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.5559, allocations: 0 / 0.8237 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004592/0.5564, allocations: 237.3 kB / 0.8239 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.5564, allocations: 52.34 kB / 0.824 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/0.5565, allocations: 98.02 kB / 0.8241 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.5565, allocations: 34.58 kB / 0.8241 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.5565, allocations: 89.38 kB / 0.8242 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.5565, allocations: 30.81 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.5566, allocations: 28.03 kB / 0.8243 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.5567, allocations: 314.9 kB / 0.8246 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.5567, allocations: 12 kB / 0.8246 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.5567, allocations: 54.95 kB / 0.8246 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.5568, allocations: 77.59 kB / 0.8247 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5568, allocations: 0.6875 kB / 0.8247 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.222e-05/0.5569, allocations: 97.77 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5569, allocations: 6.156 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5569, allocations: 5.406 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5569, allocations: 2.625 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.67e-05/0.557, allocations: 19.88 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.557, allocations: 1.781 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.557, allocations: 10.25 kB / 0.8248 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.557, allocations: 8.531 kB / 0.8249 GB, free: 11.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.778e-05/0.5571, allocations: 115.4 kB / 0.825 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.5571, allocations: 3.219 kB / 0.825 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.5571, allocations: 11.16 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5571, allocations: 6.875 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5571, allocations: 0 / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5571, allocations: 4.219 kB / 0.825 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.5572, allocations: 140.3 kB / 0.8251 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5572, allocations: 0 / 0.8251 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.5573, allocations: 15.19 kB / 0.8251 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.5573, allocations: 3.984 kB / 0.8251 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.5573, allocations: 7.188 kB / 0.8251 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5573, allocations: 6.672 kB / 0.8252 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5573, allocations: 0 / 0.8252 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.5575, allocations: 182.6 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.5575, allocations: 2.688 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.5575, allocations: 1.938 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.5575, allocations: 3.609 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.5576, allocations: 12.14 kB / 0.8253 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5576, allocations: 2.375 kB / 0.8253 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.5576, allocations: 79.12 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5576, allocations: 4 kB / 0.8254 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001503/0.5577, allocations: 14.62 kB / 0.8254 GB, free: 11.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003354/0.5581, allocations: 0.7092 MB / 0.8261 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.5582, allocations: 37.91 kB / 0.8262 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5582, allocations: 4 kB / 0.8262 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.5582, allocations: 15.75 kB / 0.8262 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.5584, allocations: 9.156 kB / 0.8262 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.5595, allocations: 1.533 MB / 0.8277 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.5597, allocations: 0.6823 MB / 0.8284 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.5597, allocations: 17.81 kB / 0.8284 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.5598, allocations: 15.81 kB / 0.8284 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5598, allocations: 0 / 0.8284 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.5777, allocations: 1.806 MB / 0.8302 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/7.286, allocations: 5.938 kB / 0.8302 GB, free: 7.879 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.363791723968461] Failed to read output from testmodel.py, exit status != 0: 7.366270946804434 7.37766906 6.820770897 Calling exit ...