Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.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.001273/0.001273, allocations: 111.7 kB / 16.45 MB, free: 6.488 MB / 14.72 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.001375/0.001375, allocations: 216.2 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.392/1.392, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] 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.1308/0.1308, allocations: 23.88 MB / 332.7 MB, free: 12.33 MB / 270.1 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.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical 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.002151/0.002151, allocations: 75.89 kB / 466.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3241, allocations: 59.82 MB / 0.5135 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007559/0.3316, allocations: 8.469 MB / 0.5218 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02912/0.3608, allocations: 24.28 MB / 0.5455 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.3626, allocations: 29.41 kB / 0.5456 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.3642, allocations: 0.5161 MB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00757/0.3718, allocations: 2.171 MB / 0.5482 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.3825, allocations: 3.033 MB / 0.5511 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004671/0.3872, allocations: 2.444 MB / 0.5535 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.389, allocations: 1.159 MB / 0.5547 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.3909, allocations: 1.229 MB / 0.5559 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.393, allocations: 1.366 MB / 0.5572 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.3934, allocations: 215.1 kB / 0.5574 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.4046, allocations: 2.689 MB / 0.56 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007856/0.4054, allocations: 0.5082 MB / 0.5605 GB, free: 8.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.4072, allocations: 1.083 MB / 0.5616 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.4208, allocations: 5.249 MB / 0.5667 GB, free: 4.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4208, allocations: 0 / 0.5667 GB, free: 4.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4208, allocations: 0 / 0.5667 GB, free: 4.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.4209, allocations: 0 / 0.5667 GB, free: 4.598 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.00566/0.4265, allocations: 2.71 MB / 0.5694 GB, free: 1.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4266, allocations: 12.03 kB / 0.5694 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.4269, allocations: 249.5 kB / 0.5696 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.4289, allocations: 423 kB / 0.57 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.4308, allocations: 0.9677 MB / 0.571 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.431, allocations: 191.5 kB / 0.5711 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.4313, allocations: 184.3 kB / 0.5713 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/0.4349, allocations: 2.088 MB / 0.5734 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.435, allocations: 3.938 kB / 0.5734 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.4352, allocations: 72 kB / 0.5734 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.4352, allocations: 44 kB / 0.5735 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.4395, allocations: 2.612 MB / 0.576 GB, free: 10.9 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.4506, allocations: 6.66 MB / 0.5825 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/0.4555, allocations: 3.033 MB / 0.5855 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.4569, allocations: 0.8314 MB / 0.5863 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.4687, allocations: 8.162 MB / 0.5943 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4687, allocations: 47.81 kB / 0.5943 GB, free: 6.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 2.755e-06/0.4687, allocations: 0 / 0.5943 GB, free: 6.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.02927/0.498, allocations: 7.037 MB / 0.6012 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.4981, allocations: 99.11 kB / 0.6013 GB, free: 15.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.4991, allocations: 0.7846 MB / 0.602 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.4993, allocations: 57.7 kB / 0.6021 GB, free: 14.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/0.4998, allocations: 0.7546 MB / 0.6028 GB, free: 13.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006203/0.5004, allocations: 0.6391 MB / 0.6035 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005933/0.501, allocations: 363.5 kB / 0.6038 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5012, allocations: 305.1 kB / 0.6041 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.5023, allocations: 0.6286 MB / 0.6047 GB, free: 11.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.504, allocations: 1.129 MB / 0.6058 GB, free: 10.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.507, allocations: 1.913 MB / 0.6077 GB, free: 8.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.5071, allocations: 8 kB / 0.6077 GB, free: 8.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00756/0.5146, allocations: 2.472 MB / 0.6101 GB, free: 5.957 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.5146, allocations: 14.5 kB / 0.6101 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.5147, allocations: 16 kB / 0.6101 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.5184, allocations: 475.4 kB / 0.6106 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.5208, allocations: 0.5188 MB / 0.6111 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.5323, allocations: 7.678 MB / 0.6186 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.5338, allocations: 68.05 kB / 0.6187 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.5341, allocations: 99.98 kB / 0.6188 GB, free: 12.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (246): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000888/0.535, allocations: 373.2 kB / 0.6191 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/0.5355, allocations: 139.1 kB / 0.6192 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008315/0.5438, allocations: 2.441 MB / 0.6216 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.5438, allocations: 20.09 kB / 0.6216 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.5438, allocations: 3.984 kB / 0.6216 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5439, allocations: 7.969 kB / 0.6217 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.5544, allocations: 4.066 MB / 0.6256 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-06/0.5544, allocations: 0 / 0.6256 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.5564, allocations: 395.5 kB / 0.626 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003732/0.5602, allocations: 458.9 kB / 0.6264 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.5603, allocations: 51.98 kB / 0.6265 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.571, allocations: 7.528 MB / 0.6338 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.571, allocations: 0 / 0.6338 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008881/0.5799, allocations: 3.14 MB / 0.6369 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.5803, allocations: 212.1 kB / 0.6371 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.5806, allocations: 39.94 kB / 0.6371 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/0.5816, allocations: 32 kB / 0.6372 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.5819, allocations: 141.8 kB / 0.6373 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.5821, allocations: 63.97 kB / 0.6374 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007834/0.5829, allocations: 0.504 MB / 0.6379 GB, free: 8.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5829, allocations: 0 / 0.6379 GB, free: 8.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003549/0.5864, allocations: 1.075 MB / 0.6389 GB, free: 7.168 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (solution.temperature,H3O.logn,OH.logn,H2O.logn,solution1.temperature,H_.logn,OH_.logn,H2O_.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 (178): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/0.5982, allocations: 4.771 MB / 0.6436 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.6026, allocations: 2.144 MB / 0.6457 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6026, allocations: 3.938 kB / 0.6457 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.6051, allocations: 1.31 MB / 0.647 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.6069, allocations: 312.6 kB / 0.6472 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/0.6368, allocations: 13.14 MB / 0.6601 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.6383, allocations: 1.277 MB / 0.6613 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001507/0.6398, allocations: 342.1 kB / 0.6617 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.6413, allocations: 0.7725 MB / 0.6624 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.223e-06/0.6413, allocations: 0 / 0.6624 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/0.7836, allocations: 51.38 MB / 0.7126 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.2/21.99, allocations: 11.67 kB / 0.7126 GB, free: 11.27 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.849813144886866] Failed to read output from testmodel.py, exit status != 0: 22.112716571893543 22.361522441 21.711799903 Calling exit ...