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.001291/0.001291, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001405/0.001405, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.491/1.491, allocations: 230.6 MB / 256.8 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.1398/0.1398, allocations: 23.87 MB / 337.1 MB, free: 11.15 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization",fmuType="cs",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.002039/0.002039, allocations: 59.91 kB / 472 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3264, allocations: 59.86 MB / 0.5194 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008178/0.3346, allocations: 8.509 MB / 0.5277 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0313/0.3659, allocations: 24.34 MB / 0.5515 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.3684, allocations: 29 kB / 0.5515 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.3711, allocations: 0.5129 MB / 0.552 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009084/0.3802, allocations: 2.181 MB / 0.5541 GB, free: 148 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009841/0.39, allocations: 3.062 MB / 0.5571 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004533/0.3946, allocations: 2.448 MB / 0.5595 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.3964, allocations: 1.133 MB / 0.5606 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.3985, allocations: 1.231 MB / 0.5618 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.4011, allocations: 1.36 MB / 0.5632 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.4016, allocations: 220.2 kB / 0.5634 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.4122, allocations: 2.693 MB / 0.566 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009373/0.4132, allocations: 0.5126 MB / 0.5665 GB, free: 9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.4153, allocations: 1.077 MB / 0.5675 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.4306, allocations: 5.248 MB / 0.5727 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4306, allocations: 0 / 0.5727 GB, free: 3.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4306, allocations: 0 / 0.5727 GB, free: 3.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.96e-05/0.4306, allocations: 0 / 0.5727 GB, free: 3.266 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.00604/0.4367, allocations: 2.65 MB / 0.5753 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4367, allocations: 8.031 kB / 0.5753 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.754e-05/0.4368, allocations: 47.69 kB / 0.5753 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003344/0.4371, allocations: 249.5 kB / 0.5755 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.4392, allocations: 423 kB / 0.576 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.441, allocations: 0.906 MB / 0.5768 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.4413, allocations: 242.9 kB / 0.5771 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/0.4417, allocations: 188.1 kB / 0.5772 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004023/0.4457, allocations: 2.085 MB / 0.5793 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.4457, allocations: 4 kB / 0.5793 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.4459, allocations: 68 kB / 0.5794 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.446, allocations: 44 kB / 0.5794 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004745/0.4507, allocations: 2.604 MB / 0.5819 GB, free: 9.637 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.01308/0.4638, allocations: 6.596 MB / 0.5884 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/0.4689, allocations: 2.572 MB / 0.5909 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.4705, allocations: 0.8352 MB / 0.5917 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.4807, allocations: 4.5 MB / 0.5961 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.4808, allocations: 47.88 kB / 0.5961 GB, free: 10.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.286e-06/0.4808, allocations: 0 / 0.5961 GB, free: 10.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03111/0.5119, allocations: 6.735 MB / 0.6027 GB, free: 3.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.5119, allocations: 103 kB / 0.6028 GB, free: 3.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.513, allocations: 0.7846 MB / 0.6036 GB, free: 3.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.5132, allocations: 61.7 kB / 0.6036 GB, free: 2.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.5138, allocations: 0.7585 MB / 0.6044 GB, free: 2.172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/0.5145, allocations: 0.6391 MB / 0.605 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005908/0.5151, allocations: 359.5 kB / 0.6054 GB, free: 1.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5152, allocations: 305.1 kB / 0.6056 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.5164, allocations: 0.6169 MB / 0.6062 GB, free: 252 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.5181, allocations: 1.141 MB / 0.6074 GB, free: 14.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.5212, allocations: 1.909 MB / 0.6092 GB, free: 12.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.5212, allocations: 8 kB / 0.6092 GB, free: 12.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008072/0.5293, allocations: 2.472 MB / 0.6116 GB, free: 10.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.5294, allocations: 15.98 kB / 0.6117 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.5294, allocations: 16 kB / 0.6117 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/0.5334, allocations: 471.5 kB / 0.6121 GB, free: 9.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.5361, allocations: 0.5227 MB / 0.6126 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.5478, allocations: 7.274 MB / 0.6197 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.5495, allocations: 64.06 kB / 0.6198 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/0.5499, allocations: 111.9 kB / 0.6199 GB, free: 1.336 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.0009158/0.5508, allocations: 369.7 kB / 0.6203 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.5513, allocations: 143.1 kB / 0.6204 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008488/0.5598, allocations: 2.433 MB / 0.6228 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/0.5598, allocations: 16 kB / 0.6228 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.5598, allocations: 4 kB / 0.6228 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/0.5599, allocations: 11.95 kB / 0.6228 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.5711, allocations: 4.038 MB / 0.6267 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5711, allocations: 7.938 kB / 0.6268 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/0.5734, allocations: 387.5 kB / 0.6271 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003901/0.5773, allocations: 466.8 kB / 0.6276 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/0.5775, allocations: 59.97 kB / 0.6276 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.5883, allocations: 7.111 MB / 0.6346 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5883, allocations: 0 / 0.6346 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009214/0.5975, allocations: 3.136 MB / 0.6376 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.5979, allocations: 123 kB / 0.6378 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.5982, allocations: 35.94 kB / 0.6378 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.5993, allocations: 39.98 kB / 0.6378 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/0.5997, allocations: 149.7 kB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/0.5999, allocations: 63.97 kB / 0.638 GB, free: 14.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009337/0.6009, allocations: 0.504 MB / 0.6385 GB, free: 13.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6009, allocations: 0 / 0.6385 GB, free: 13.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003806/0.6047, allocations: 1.079 MB / 0.6396 GB, free: 12.59 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.01217/0.6168, allocations: 4.759 MB / 0.6442 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004671/0.6215, allocations: 2.144 MB / 0.6463 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6215, allocations: 4 kB / 0.6463 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.6239, allocations: 1.302 MB / 0.6476 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.6259, allocations: 307 kB / 0.6479 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/0.6572, allocations: 13.13 MB / 0.6607 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.6583, allocations: 1.28 MB / 0.662 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001447/0.6597, allocations: 362.5 kB / 0.6623 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.661, allocations: 0.7608 MB / 0.663 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.661, allocations: 0 / 0.663 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/0.8088, allocations: 52.98 MB / 0.7148 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.43/24.24, allocations: 7.922 kB / 0.7148 GB, free: 15.12 MB / 0.5606 GB " [Timeout remaining time 636] (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: 27.239535260014236] Failed to read output from testmodel.py, exit status != 0: 24.446333606960252 24.464243437 24.029846517 Calling exit ...