Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.SimpleFlow.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.0007575/0.0007575, 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.0007692/0.0007692, 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.8646/0.8646, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08082/0.08082, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Processes.Tests.SimpleFlow,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_SimpleFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.SimpleFlow,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_SimpleFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.717e-05, allocations: 2.281 kB / 411.6 MB, free: 12.46 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.SimpleFlow): time 0.02122/0.02124, allocations: 29.13 MB / 440.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.03074, allocations: 8.973 MB / 449.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.03144, allocations: 55.56 kB / 449.7 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.03351, allocations: 1.058 MB / 450.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.03542, allocations: 1.086 MB / 451.9 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.0374, allocations: 1.12 MB / 453 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.03902, allocations: 2.252 MB / 455.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.03946, allocations: 440.5 kB / 455.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008719/0.04033, allocations: 1.325 MB / 457 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.04111, allocations: 0.9546 MB / 457.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.04127, allocations: 212 kB / 458.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.04293, allocations: 1.349 MB / 459.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.04324, allocations: 0.6658 MB / 460.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.0437, allocations: 0.7481 MB / 460.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.04635, allocations: 4.07 MB / 465 MB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.04636, allocations: 7.938 kB / 465 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.04636, allocations: 0 / 465 MB, free: 4.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.04638, allocations: 0 / 465 MB, free: 4.504 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.002312/0.0487, allocations: 2.6 MB / 467.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.04873, allocations: 12.03 kB / 467.6 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/0.04897, allocations: 334.3 kB / 467.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.04944, allocations: 443 kB / 468.4 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.05059, allocations: 1.28 MB / 469.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.05073, allocations: 271.4 kB / 469.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.0509, allocations: 204.3 kB / 470.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/0.0555, allocations: 7.402 MB / 477.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.05552, allocations: 192 / 477.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.05562, allocations: 91.86 kB / 477.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/0.05583, allocations: 328.8 kB / 477.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007832/0.06367, allocations: 13.34 MB / 491.3 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008847/0.07251, allocations: 11.06 MB / 0.4905 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.07349, allocations: 0.7402 MB / 0.4913 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.07395, allocations: 407.7 kB / 0.4917 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003673/0.07762, allocations: 3.479 MB / 0.4951 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.07764, allocations: 39.06 kB / 0.4951 GB, free: 10.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 1.473e-06/0.07764, allocations: 0 / 0.4951 GB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003511/0.08115, allocations: 2.617 MB / 0.4977 GB, free: 7.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.08118, allocations: 56.06 kB / 0.4977 GB, free: 7.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.0823, allocations: 1.533 MB / 0.4992 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.08235, allocations: 37.7 kB / 0.4992 GB, free: 5.836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.08286, allocations: 1.141 MB / 0.5004 GB, free: 4.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.083, allocations: 249.8 kB / 0.5006 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.08326, allocations: 310.7 kB / 0.5009 GB, free: 4.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.08335, allocations: 353.9 kB / 0.5012 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.0838, allocations: 386.5 kB / 0.5016 GB, free: 3.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.08443, allocations: 0.8519 MB / 0.5024 GB, free: 2.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.08559, allocations: 1.322 MB / 0.5037 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.0856, allocations: 7.938 kB / 0.5037 GB, free: 0.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001934/0.08753, allocations: 1.616 MB / 0.5053 GB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.08755, allocations: 12 kB / 0.5053 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.08757, allocations: 19.94 kB / 0.5053 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.0878, allocations: 129.7 kB / 0.5055 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.08909, allocations: 0.5345 MB / 0.506 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.09072, allocations: 2.777 MB / 0.5087 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.09112, allocations: 44 kB / 0.5087 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.09126, allocations: 184.2 kB / 0.5089 GB, free: 11.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 2 (substance.substanceDefinitionVar.SelfClustering,substance.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005833/0.09185, allocations: 0.6105 MB / 0.5095 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.09202, allocations: 174.9 kB / 0.5097 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.09409, allocations: 1.542 MB / 0.5112 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.09409, allocations: 8 kB / 0.5112 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.09409, allocations: 0 / 0.5112 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.0941, allocations: 3.984 kB / 0.5112 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.09685, allocations: 2.58 MB / 0.5137 GB, free: 6.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.09685, allocations: 4 kB / 0.5137 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.09781, allocations: 316 kB / 0.514 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.09796, allocations: 109.6 kB / 0.5141 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.09799, allocations: 16 kB / 0.5141 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.09945, allocations: 2.742 MB / 0.5168 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.09945, allocations: 4 kB / 0.5168 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.101, allocations: 1.29 MB / 0.5181 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1011, allocations: 158.9 kB / 0.5182 GB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.1012, allocations: 23.88 kB / 0.5182 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.1015, allocations: 28.06 kB / 0.5183 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.1016, allocations: 52.34 kB / 0.5183 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.1016, allocations: 23.94 kB / 0.5183 GB, free: 1.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009005/0.1025, allocations: 1.149 MB / 0.5195 GB, free: 15.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1025, allocations: 0 / 0.5195 GB, free: 15.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008113/0.1033, allocations: 443.7 kB / 0.5199 GB, free: 15.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (substance.logn,substance1.logn) * 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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/0.1054, allocations: 2.106 MB / 0.5219 GB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.1066, allocations: 1.102 MB / 0.523 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1066, allocations: 8.188 kB / 0.523 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.1071, allocations: 488 kB / 0.5235 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.1081, allocations: 440.1 kB / 0.5239 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.1217, allocations: 14 MB / 0.5376 GB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/0.1224, allocations: 1.025 MB / 0.5386 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008485/0.1233, allocations: 480.3 kB / 0.5391 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/0.1241, allocations: 0.9454 MB / 0.54 GB, free: 9.977 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1241, allocations: 4 kB / 0.54 GB, free: 9.973 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/0.3111, allocations: 47.01 MB / 0.5859 GB, free: 150.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.856, allocations: 2.656 kB / 0.5859 GB, free: 150.3 MB / 490.7 MB " [Timeout remaining time 652] (rm -f Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.SimpleFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Processes_Tests_SimpleFlow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Processes_Tests_SimpleFlow.fmu > Chemical_master_Chemical.Processes.Tests.SimpleFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.735612475313246] Failed to read output from testmodel.py, exit status != 0: 8.087235406972468 7.96447573 7.916666169 Calling exit ...