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.001462/0.001462, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.00142/0.00142, allocations: 221.6 kB / 22.25 MB, free: 5.098 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.82 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.1354/0.1354, allocations: 23.93 MB / 336.4 MB, free: 10.97 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.001937/0.001937, allocations: 71.89 kB / 471.2 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3177, allocations: 59.87 MB / 0.5186 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007516/0.3252, allocations: 7.44 MB / 0.5259 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02766/0.3529, allocations: 21.31 MB / 0.5467 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.3548, allocations: 28.22 kB / 0.5467 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.3563, allocations: 477.6 kB / 0.5472 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008268/0.3646, allocations: 2.16 MB / 0.5493 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.3748, allocations: 3.065 MB / 0.5523 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.3789, allocations: 2.434 MB / 0.5547 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.3804, allocations: 1.138 MB / 0.5558 GB, free: 152 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.3821, allocations: 1.235 MB / 0.557 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.3839, allocations: 1.364 MB / 0.5583 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.3842, allocations: 215.3 kB / 0.5585 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007958/0.3922, allocations: 2.584 MB / 0.561 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000625/0.3928, allocations: 0.5127 MB / 0.5615 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.3942, allocations: 0.9105 MB / 0.5624 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.4062, allocations: 5.241 MB / 0.5675 GB, free: 7.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4062, allocations: 0 / 0.5675 GB, free: 7.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4062, allocations: 0 / 0.5675 GB, free: 7.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3e-05/0.4062, allocations: 3.938 kB / 0.5675 GB, free: 7.543 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.004962/0.4112, allocations: 2.639 MB / 0.5701 GB, free: 4.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4112, allocations: 8.031 kB / 0.5701 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002993/0.4115, allocations: 253.5 kB / 0.5704 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.4132, allocations: 419 kB / 0.5708 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.4149, allocations: 0.906 MB / 0.5717 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4151, allocations: 250.8 kB / 0.5719 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.4154, allocations: 180.3 kB / 0.5721 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.4187, allocations: 2.088 MB / 0.5741 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.4188, allocations: 4 kB / 0.5741 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.4189, allocations: 68 kB / 0.5742 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.419, allocations: 44 kB / 0.5742 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.423, allocations: 2.584 MB / 0.5767 GB, free: 13.98 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.01025/0.4333, allocations: 5.457 MB / 0.5821 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.4381, allocations: 2.523 MB / 0.5845 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4395, allocations: 0.8353 MB / 0.5853 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009581/0.4491, allocations: 4.262 MB / 0.5895 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.4491, allocations: 51.81 kB / 0.5896 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.446e-06/0.4491, allocations: 0 / 0.5896 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.02631/0.4754, allocations: 6.735 MB / 0.5961 GB, free: 9.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.4755, allocations: 103.1 kB / 0.5962 GB, free: 9.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4765, allocations: 0.8078 MB / 0.597 GB, free: 8.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.4767, allocations: 53.7 kB / 0.5971 GB, free: 8.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/0.4773, allocations: 0.7546 MB / 0.5978 GB, free: 8.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005805/0.4778, allocations: 0.6391 MB / 0.5984 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.4783, allocations: 363.5 kB / 0.5988 GB, free: 7.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4785, allocations: 313 kB / 0.5991 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.4796, allocations: 0.6131 MB / 0.5997 GB, free: 6.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.4811, allocations: 1.133 MB / 0.6008 GB, free: 4.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002856/0.484, allocations: 1.921 MB / 0.6027 GB, free: 2.664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.484, allocations: 8 kB / 0.6027 GB, free: 2.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006847/0.4908, allocations: 2.472 MB / 0.6051 GB, free: 172 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4909, allocations: 10.97 kB / 0.6051 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.4909, allocations: 16 kB / 0.6051 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/0.4943, allocations: 478.9 kB / 0.6056 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.4965, allocations: 0.5227 MB / 0.6061 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.507, allocations: 7.219 MB / 0.6131 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5083, allocations: 64 kB / 0.6132 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.5085, allocations: 103.9 kB / 0.6133 GB, free: 7.309 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.0007085/0.5092, allocations: 373.1 kB / 0.6136 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.5095, allocations: 143.2 kB / 0.6138 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006963/0.5165, allocations: 2.426 MB / 0.6161 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.5165, allocations: 20.09 kB / 0.6162 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.5165, allocations: 11.97 kB / 0.6162 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.5165, allocations: 7.969 kB / 0.6162 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008945/0.5255, allocations: 3.8 MB / 0.6199 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.5255, allocations: 4 kB / 0.6199 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.5275, allocations: 391.5 kB / 0.6203 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/0.5307, allocations: 450.9 kB / 0.6207 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.5309, allocations: 55.97 kB / 0.6208 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009448/0.5403, allocations: 7.048 MB / 0.6276 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5403, allocations: 0 / 0.6276 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007708/0.5481, allocations: 3.136 MB / 0.6307 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.5484, allocations: 127 kB / 0.6308 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.5486, allocations: 39.94 kB / 0.6309 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.5493, allocations: 35.98 kB / 0.6309 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.5496, allocations: 145.7 kB / 0.631 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.5497, allocations: 63.97 kB / 0.6311 GB, free: 4.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006585/0.5504, allocations: 0.5001 MB / 0.6316 GB, free: 3.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5504, allocations: 0 / 0.6316 GB, free: 3.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00294/0.5533, allocations: 1.072 MB / 0.6326 GB, free: 2.895 MB / 478.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.009894/0.5632, allocations: 4.775 MB / 0.6373 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.567, allocations: 2.144 MB / 0.6394 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.567, allocations: 0 / 0.6394 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.569, allocations: 1.306 MB / 0.6407 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.5705, allocations: 306.9 kB / 0.641 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/0.5958, allocations: 13.13 MB / 0.6538 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.5966, allocations: 0.697 MB / 0.6545 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001251/0.5978, allocations: 357.9 kB / 0.6548 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.5989, allocations: 0.7686 MB / 0.6556 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.5989, allocations: 0 / 0.6556 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.7045, allocations: 53.99 MB / 0.7083 GB, free: 5.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.05, allocations: 3.984 kB / 0.7083 GB, free: 5.078 MB / 0.545 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.765086116996827] Failed to read output from testmodel.py, exit status != 0: 15.189769112999784 15.204568862 14.795288765 Calling exit ...