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.001326/0.001326, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001416/0.001416, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.961 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.1353/0.1353, allocations: 23.89 MB / 336.3 MB, free: 11.13 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.002132/0.002132, allocations: 63.91 kB / 471.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 59.87 MB / 0.5187 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007913/0.3341, allocations: 8.51 MB / 0.527 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03021/0.3643, allocations: 24.34 MB / 0.5507 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.3662, allocations: 29.12 kB / 0.5508 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.368, allocations: 0.5122 MB / 0.5513 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007845/0.3758, allocations: 2.185 MB / 0.5534 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.386, allocations: 3.066 MB / 0.5564 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004526/0.3905, allocations: 2.435 MB / 0.5588 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.3923, allocations: 1.133 MB / 0.5599 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.3942, allocations: 1.234 MB / 0.5611 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.3966, allocations: 1.364 MB / 0.5624 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.3971, allocations: 215.6 kB / 0.5626 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.4079, allocations: 2.686 MB / 0.5652 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008052/0.4087, allocations: 0.5121 MB / 0.5657 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.4105, allocations: 1.077 MB / 0.5668 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.4244, allocations: 5.253 MB / 0.5719 GB, free: 3.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4244, allocations: 0 / 0.5719 GB, free: 3.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4244, allocations: 4 kB / 0.5719 GB, free: 3.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.084e-05/0.4245, allocations: 0 / 0.5719 GB, free: 3.25 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.005658/0.4301, allocations: 2.646 MB / 0.5745 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4302, allocations: 12.03 kB / 0.5745 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/0.4305, allocations: 249.5 kB / 0.5748 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.4323, allocations: 426.9 kB / 0.5752 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.4341, allocations: 0.9099 MB / 0.5761 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.4343, allocations: 242.9 kB / 0.5763 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.4346, allocations: 184.3 kB / 0.5765 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.4381, allocations: 2.088 MB / 0.5785 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.4381, allocations: 0 / 0.5785 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.4383, allocations: 72 kB / 0.5786 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/0.4383, allocations: 40 kB / 0.5786 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.4424, allocations: 2.616 MB / 0.5812 GB, free: 9.652 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.01106/0.4535, allocations: 6.585 MB / 0.5876 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.458, allocations: 2.58 MB / 0.5901 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4594, allocations: 0.8275 MB / 0.5909 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009549/0.4689, allocations: 4.5 MB / 0.5953 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.4689, allocations: 51.81 kB / 0.5954 GB, free: 10.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 2.875e-06/0.4689, allocations: 0 / 0.5954 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.02946/0.4984, allocations: 6.732 MB / 0.6019 GB, free: 3.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.4985, allocations: 107.1 kB / 0.602 GB, free: 3.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4995, allocations: 0.7807 MB / 0.6028 GB, free: 3.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.4997, allocations: 57.7 kB / 0.6029 GB, free: 2.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.5003, allocations: 0.7546 MB / 0.6036 GB, free: 2.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005798/0.5008, allocations: 0.643 MB / 0.6042 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.5014, allocations: 363.5 kB / 0.6046 GB, free: 1.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5015, allocations: 305.1 kB / 0.6049 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.5026, allocations: 0.6169 MB / 0.6055 GB, free: 284 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5042, allocations: 1.137 MB / 0.6066 GB, free: 14.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.5071, allocations: 1.921 MB / 0.6084 GB, free: 12.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5071, allocations: 4 kB / 0.6085 GB, free: 12.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007663/0.5148, allocations: 2.467 MB / 0.6109 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.5148, allocations: 15.81 kB / 0.6109 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.5148, allocations: 16 kB / 0.6109 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/0.5188, allocations: 470.9 kB / 0.6113 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.5213, allocations: 0.5188 MB / 0.6118 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.5324, allocations: 7.283 MB / 0.619 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.5338, allocations: 64 kB / 0.619 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.534, allocations: 99.97 kB / 0.6191 GB, free: 1.371 MB / 462.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.0007508/0.5348, allocations: 377.7 kB / 0.6195 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.5351, allocations: 147.2 kB / 0.6196 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00793/0.543, allocations: 2.425 MB / 0.622 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.5431, allocations: 20 kB / 0.622 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5431, allocations: 0 / 0.622 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.5431, allocations: 11.95 kB / 0.622 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.5534, allocations: 4.053 MB / 0.626 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.5534, allocations: 0 / 0.626 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/0.5554, allocations: 399.5 kB / 0.6264 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003887/0.5593, allocations: 450.9 kB / 0.6268 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.5595, allocations: 59.97 kB / 0.6268 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.5698, allocations: 7.111 MB / 0.6338 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5698, allocations: 4.062 kB / 0.6338 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/0.5789, allocations: 3.136 MB / 0.6369 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.5793, allocations: 123 kB / 0.637 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.5796, allocations: 35.94 kB / 0.637 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/0.5806, allocations: 43.98 kB / 0.637 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.5809, allocations: 137.7 kB / 0.6372 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.5811, allocations: 67.97 kB / 0.6372 GB, free: 14.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007966/0.5819, allocations: 0.504 MB / 0.6377 GB, free: 13.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5819, allocations: 0 / 0.6377 GB, free: 13.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003561/0.5854, allocations: 1.075 MB / 0.6388 GB, free: 12.63 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.0115/0.5969, allocations: 4.759 MB / 0.6434 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004078/0.601, allocations: 2.148 MB / 0.6455 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.601, allocations: 0 / 0.6455 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.6032, allocations: 1.31 MB / 0.6468 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6049, allocations: 302.8 kB / 0.6471 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02891/0.6338, allocations: 13.13 MB / 0.6599 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.6351, allocations: 1.277 MB / 0.6612 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001422/0.6365, allocations: 358.9 kB / 0.6615 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.6377, allocations: 0.7725 MB / 0.6623 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6377, allocations: 0 / 0.6623 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/0.7487, allocations: 52.95 MB / 0.714 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.05/22.79, allocations: 2.922 kB / 0.714 GB, free: 15.18 MB / 0.5606 GB " [Timeout remaining time 637] (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: 25.495597740868106] Failed to read output from testmodel.py, exit status != 0: 22.93932418897748 22.954983492 22.527124962 Calling exit ...