Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.0009517/0.0009517, 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.0009465/0.0009465, allocations: 170.3 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.9506/0.9506, 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.7432/0.7432, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.383e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.003925/0.003939, allocations: 4.486 MB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.005521, allocations: 2.457 MB / 0.6249 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.005585, allocations: 4 kB / 0.6249 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.005819, allocations: 51.61 kB / 0.6249 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.006029, allocations: 107.2 kB / 0.625 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.006656, allocations: 0.5305 MB / 0.6255 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.006832, allocations: 239.8 kB / 0.6258 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.006872, allocations: 9.812 kB / 0.6258 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.007035, allocations: 159.5 kB / 0.6259 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.007135, allocations: 79.77 kB / 0.626 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.007162, allocations: 8 kB / 0.626 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.00751, allocations: 319.1 kB / 0.6263 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.007568, allocations: 35.83 kB / 0.6263 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.007622, allocations: 63.89 kB / 0.6264 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.008135, allocations: 378.9 kB / 0.6268 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.008137, allocations: 4 kB / 0.6268 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008138, allocations: 0 / 0.6268 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.008142, allocations: 0 / 0.6268 GB, free: 4.738 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005482/0.008691, allocations: 451.8 kB / 0.6272 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.008726, allocations: 9.469 kB / 0.6272 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.008769, allocations: 54.73 kB / 0.6273 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/0.008868, allocations: 24.83 kB / 0.6273 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.009048, allocations: 149.6 kB / 0.6274 GB, free: 4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.009064, allocations: 20.69 kB / 0.6274 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.009081, allocations: 20.38 kB / 0.6275 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.009414, allocations: 488.9 kB / 0.6279 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.009422, allocations: 192 / 0.6279 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.009439, allocations: 7.938 kB / 0.6279 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.009462, allocations: 8 kB / 0.6279 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.009769, allocations: 427.3 kB / 0.6283 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.01051, allocations: 0.8125 MB / 0.6291 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.01074, allocations: 150.7 kB / 0.6293 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.01082, allocations: 64.86 kB / 0.6293 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.01128, allocations: 451.8 kB / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.0113, allocations: 38.5 kB / 0.6298 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.01131, allocations: 3.938 kB / 0.6298 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002452/0.01155, allocations: 140.8 kB / 0.63 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.01158, allocations: 55.41 kB / 0.63 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.0117, allocations: 177.4 kB / 0.6302 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.01172, allocations: 33.7 kB / 0.6302 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.0118, allocations: 144.2 kB / 0.6303 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.01183, allocations: 55.48 kB / 0.6304 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.01188, allocations: 53.7 kB / 0.6304 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.01196, allocations: 322.8 kB / 0.6308 GB, free: 368 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.012, allocations: 31.98 kB / 0.6308 GB, free: 336 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.725e-05/0.01209, allocations: 145.6 kB / 0.6309 GB, free: 140 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01225, allocations: 193.5 kB / 0.6311 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01225, allocations: 0 / 0.6311 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002066/0.01246, allocations: 221.2 kB / 0.6313 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01247, allocations: 11.98 kB / 0.6313 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01248, allocations: 4 kB / 0.6313 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01249, allocations: 8.469 kB / 0.6313 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.0126, allocations: 59.86 kB / 0.6314 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01261, allocations: 7.984 kB / 0.6314 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.01267, allocations: 31.72 kB / 0.6314 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01268, allocations: 16 kB / 0.6315 GB, free: 15.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.076e-05/0.01276, allocations: 129.7 kB / 0.6316 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.01279, allocations: 19.91 kB / 0.6316 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.01298, allocations: 153.2 kB / 0.6317 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.01299, allocations: 7.984 kB / 0.6318 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.013, allocations: 0 / 0.6318 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.013, allocations: 7.875 kB / 0.6318 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.01315, allocations: 176.7 kB / 0.6319 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01315, allocations: 0 / 0.6319 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.01321, allocations: 31.98 kB / 0.632 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.01321, allocations: 0 / 0.632 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.01322, allocations: 7.984 kB / 0.632 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.01322, allocations: 0 / 0.632 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-07/0.01322, allocations: 0 / 0.632 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.01338, allocations: 227.2 kB / 0.6322 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.01342, allocations: 27.88 kB / 0.6322 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01343, allocations: 3.984 kB / 0.6322 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01354, allocations: 16 kB / 0.6322 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.01355, allocations: 11.97 kB / 0.6322 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.01357, allocations: 15.94 kB / 0.6323 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.01363, allocations: 124.9 kB / 0.6324 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01363, allocations: 0 / 0.6324 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002631/0.01389, allocations: 83.8 kB / 0.6325 GB, free: 14.45 MB / 0.6042 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005043/0.01439, allocations: 0.8475 MB / 0.6333 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.01456, allocations: 111.8 kB / 0.6334 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01456, allocations: 0 / 0.6334 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.0146, allocations: 35.92 kB / 0.6334 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.01488, allocations: 60.83 kB / 0.6335 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.01646, allocations: 2.014 MB / 0.6354 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.01652, allocations: 99.27 kB / 0.6355 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000106/0.01663, allocations: 49.86 kB / 0.6356 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.01668, allocations: 44.48 kB / 0.6356 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.01669, allocations: 0 / 0.6356 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.03471, allocations: 6.221 MB / 0.6417 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.489, allocations: 6.953 kB / 0.6417 GB, free: 4.969 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.299704591743648] Failed to read output from testmodel.py, exit status != 0: 7.5721718687564135 7.582744816 7.5728215 Calling exit ...