Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.TestMembrane.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.0008023/0.0008023, 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.0008393/0.0008393, 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.8437/0.8437, 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/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.07807/0.07807, allocations: 17.45 MB / 276.7 MB, free: 11.75 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.TestMembrane,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_TestMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.TestMembrane,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_TestMembrane",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.886e-05, allocations: 4.812 kB / 411.6 MB, free: 12.45 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.02155/0.02157, allocations: 29.14 MB / 440.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00968/0.03125, allocations: 9.149 MB / 449.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/0.03221, allocations: 55.56 kB / 449.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.0347, allocations: 1.045 MB / 451 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.03651, allocations: 1.083 MB / 452 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.03859, allocations: 1.164 MB / 453.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.04046, allocations: 2.263 MB / 455.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.04088, allocations: 427.3 kB / 455.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.04191, allocations: 1.321 MB / 457.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.04278, allocations: 0.9351 MB / 458.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.04296, allocations: 208 kB / 458.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.04505, allocations: 1.384 MB / 459.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.04539, allocations: 0.6658 MB / 460.4 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.04588, allocations: 0.7442 MB / 461.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.04867, allocations: 4.089 MB / 465.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.04868, allocations: 3.938 kB / 465.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04868, allocations: 0 / 465.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.0487, allocations: 0 / 465.2 MB, free: 4.211 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.002277/0.05098, allocations: 2.576 MB / 467.8 MB, free: 1.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.05101, allocations: 12.03 kB / 467.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/0.05124, allocations: 326.1 kB / 468.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.05201, allocations: 0.5145 MB / 468.7 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.0532, allocations: 1.282 MB / 469.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.05338, allocations: 279.3 kB / 470.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.05355, allocations: 200.3 kB / 470.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/0.05849, allocations: 7.416 MB / 477.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.05852, allocations: 2.625 kB / 477.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.05862, allocations: 79.98 kB / 477.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.05882, allocations: 332.7 kB / 478.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00801/0.06683, allocations: 13.4 MB / 491.6 MB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009652/0.07648, allocations: 11.14 MB / 0.491 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.0775, allocations: 0.765 MB / 0.4917 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.07804, allocations: 479.7 kB / 0.4922 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00376/0.0818, allocations: 3.616 MB / 0.4957 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.08182, allocations: 39.2 kB / 0.4958 GB, free: 9.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 1.753e-06/0.08183, allocations: 4 kB / 0.4958 GB, free: 9.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.006222/0.08805, allocations: 3.778 MB / 0.4994 GB, free: 5.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.08808, allocations: 64.06 kB / 0.4995 GB, free: 5.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.08913, allocations: 1.459 MB / 0.5009 GB, free: 4.004 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.08919, allocations: 33.7 kB / 0.501 GB, free: 3.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.08969, allocations: 1.137 MB / 0.5021 GB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.08985, allocations: 281.6 kB / 0.5023 GB, free: 2.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.09012, allocations: 314.8 kB / 0.5026 GB, free: 2.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.09022, allocations: 341.9 kB / 0.503 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/0.09101, allocations: 454.4 kB / 0.5034 GB, free: 1.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.09172, allocations: 0.9137 MB / 0.5043 GB, free: 304 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/0.09986, allocations: 4.211 MB / 0.5084 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.09987, allocations: 4 kB / 0.5084 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002461/0.1023, allocations: 1.788 MB / 0.5102 GB, free: 10.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1024, allocations: 19.88 kB / 0.5102 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.1024, allocations: 16 kB / 0.5102 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.1027, allocations: 186.6 kB / 0.5104 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.104, allocations: 0.5657 MB / 0.5109 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.1063, allocations: 4.303 MB / 0.5151 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.1068, allocations: 67.97 kB / 0.5152 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.107, allocations: 180.2 kB / 0.5154 GB, free: 4.367 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 2 (s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007582/0.1077, allocations: 0.6183 MB / 0.516 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.1079, allocations: 170.9 kB / 0.5161 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.1105, allocations: 1.895 MB / 0.518 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1105, allocations: 4 kB / 0.518 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1105, allocations: 4 kB / 0.518 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1105, allocations: 3.984 kB / 0.518 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.1134, allocations: 2.647 MB / 0.5206 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1134, allocations: 4 kB / 0.5206 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.1144, allocations: 323.8 kB / 0.5209 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.1146, allocations: 174.4 kB / 0.5211 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.1147, allocations: 19.98 kB / 0.5211 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.1172, allocations: 4.422 MB / 0.5254 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1172, allocations: 8 kB / 0.5254 GB, free: 9.586 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.1191, allocations: 1.464 MB / 0.5268 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.1192, allocations: 154.9 kB / 0.527 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.1193, allocations: 19.94 kB / 0.527 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.1196, allocations: 43.97 kB / 0.527 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.1197, allocations: 48.41 kB / 0.5271 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.1197, allocations: 19.98 kB / 0.5271 GB, free: 7.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009168/0.1207, allocations: 1.171 MB / 0.5282 GB, free: 6.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1207, allocations: 0 / 0.5282 GB, free: 6.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001013/0.1217, allocations: 451.7 kB / 0.5287 GB, free: 6.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (s1.logm,p1.logm,d1.rear.n_flow) * 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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.002727/0.1244, allocations: 2.285 MB / 0.5309 GB, free: 3.852 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.126, allocations: 1.363 MB / 0.5322 GB, free: 2.453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.126, allocations: 0 / 0.5322 GB, free: 2.453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.1267, allocations: 0.7137 MB / 0.5329 GB, free: 1.703 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.1277, allocations: 434.2 kB / 0.5334 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.1421, allocations: 14.4 MB / 0.5474 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007137/0.1428, allocations: 1.017 MB / 0.5484 GB, free: 1.074 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009277/0.1438, allocations: 0.5398 MB / 0.5489 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/0.1446, allocations: 0.9377 MB / 0.5499 GB, free: 15.59 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1446, allocations: 0 / 0.5499 GB, free: 15.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/0.333, allocations: 47.46 MB / 0.5962 GB, free: 150.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.802, allocations: 4.906 kB / 0.5962 GB, free: 150.3 MB / 490.7 MB " [Timeout remaining time 652] (rm -f Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.TestMembrane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Processes_Tests_TestMembrane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Processes_Tests_TestMembrane.fmu > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.691230326890945] Failed to read output from testmodel.py, exit status != 0: 8.052815237082541 7.915212887 7.865098594 Calling exit ...