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.001528/0.001528, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001454/0.001454, allocations: 215.2 kB / 22.25 MB, free: 5.105 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.824 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.1352/0.1352, allocations: 23.92 MB / 336.4 MB, free: 10.95 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.001973/0.001973, allocations: 75.83 kB / 471.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 59.88 MB / 0.5186 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007823/0.3013, allocations: 7.434 MB / 0.5259 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02782/0.3291, allocations: 21.31 MB / 0.5467 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.3306, allocations: 30.25 kB / 0.5467 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3321, allocations: 472.6 kB / 0.5472 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007204/0.3393, allocations: 2.158 MB / 0.5493 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00943/0.3487, allocations: 3.062 MB / 0.5523 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003724/0.3524, allocations: 2.446 MB / 0.5547 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.3539, allocations: 1.135 MB / 0.5558 GB, free: 24 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.3555, allocations: 1.23 MB / 0.557 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.3576, allocations: 1.365 MB / 0.5583 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.3579, allocations: 215.4 kB / 0.5585 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007344/0.3653, allocations: 2.587 MB / 0.561 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006317/0.3659, allocations: 0.5122 MB / 0.5615 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.3672, allocations: 0.9153 MB / 0.5624 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.3785, allocations: 5.233 MB / 0.5675 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3785, allocations: 0 / 0.5675 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3785, allocations: 4 kB / 0.5675 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.3785, allocations: 0 / 0.5675 GB, free: 7.371 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.005372/0.3839, allocations: 2.639 MB / 0.5701 GB, free: 4.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3839, allocations: 8.031 kB / 0.5701 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003252/0.3842, allocations: 253.5 kB / 0.5704 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.3861, allocations: 423 kB / 0.5708 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.3878, allocations: 0.906 MB / 0.5717 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.3881, allocations: 238.9 kB / 0.5719 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.3884, allocations: 188.2 kB / 0.5721 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.3919, allocations: 2.092 MB / 0.5741 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.3919, allocations: 3.938 kB / 0.5741 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.3921, allocations: 72 kB / 0.5742 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.3921, allocations: 44 kB / 0.5742 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/0.3963, allocations: 2.581 MB / 0.5767 GB, free: 13.8 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.0105/0.4068, allocations: 5.449 MB / 0.5821 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.4115, allocations: 2.539 MB / 0.5845 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.4129, allocations: 0.8314 MB / 0.5854 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009815/0.4227, allocations: 4.262 MB / 0.5895 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.4227, allocations: 55.75 kB / 0.5896 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.356e-06/0.4227, allocations: 0 / 0.5896 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03274/0.4555, allocations: 6.73 MB / 0.5961 GB, free: 9.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.4556, allocations: 95.11 kB / 0.5962 GB, free: 9.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.4566, allocations: 0.8156 MB / 0.597 GB, free: 8.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.4568, allocations: 61.64 kB / 0.5971 GB, free: 8.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/0.4573, allocations: 0.7546 MB / 0.5978 GB, free: 7.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.4579, allocations: 0.6391 MB / 0.5985 GB, free: 7.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.4584, allocations: 359.5 kB / 0.5988 GB, free: 6.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4585, allocations: 309.1 kB / 0.5991 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.4596, allocations: 0.617 MB / 0.5997 GB, free: 5.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.4612, allocations: 1.133 MB / 0.6008 GB, free: 4.621 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.4641, allocations: 1.913 MB / 0.6027 GB, free: 2.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.4641, allocations: 4 kB / 0.6027 GB, free: 2.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008014/0.4721, allocations: 2.471 MB / 0.6051 GB, free: 0 / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.4722, allocations: 12.05 kB / 0.6051 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.4722, allocations: 16 kB / 0.6051 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004293/0.4765, allocations: 471.7 kB / 0.6056 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.479, allocations: 0.5227 MB / 0.6061 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.4905, allocations: 7.228 MB / 0.6131 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.492, allocations: 63.98 kB / 0.6132 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.4922, allocations: 108 kB / 0.6133 GB, free: 7.129 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.0007035/0.4929, allocations: 369.1 kB / 0.6136 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.4932, allocations: 139.1 kB / 0.6138 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/0.5015, allocations: 2.433 MB / 0.6162 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.5016, allocations: 20 kB / 0.6162 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.5016, allocations: 4 kB / 0.6162 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.5016, allocations: 11.97 kB / 0.6162 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.512, allocations: 3.808 MB / 0.6199 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.512, allocations: 0 / 0.6199 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/0.5141, allocations: 387.5 kB / 0.6203 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/0.5183, allocations: 458.9 kB / 0.6207 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.5185, allocations: 51.98 kB / 0.6208 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.5289, allocations: 7.052 MB / 0.6276 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5289, allocations: 0 / 0.6276 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009068/0.538, allocations: 3.132 MB / 0.6307 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.5384, allocations: 127 kB / 0.6308 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.5386, allocations: 39.92 kB / 0.6309 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009331/0.5395, allocations: 40 kB / 0.6309 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.5399, allocations: 145.7 kB / 0.631 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.54, allocations: 63.98 kB / 0.6311 GB, free: 4.301 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006958/0.5407, allocations: 0.504 MB / 0.6316 GB, free: 3.785 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5407, allocations: 0 / 0.6316 GB, free: 3.785 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003042/0.5438, allocations: 1.072 MB / 0.6326 GB, free: 2.711 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.01112/0.5549, allocations: 4.775 MB / 0.6373 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003688/0.5586, allocations: 2.144 MB / 0.6394 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5586, allocations: 0 / 0.6394 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.5606, allocations: 1.299 MB / 0.6407 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.562, allocations: 306.9 kB / 0.641 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/0.589, allocations: 13.13 MB / 0.6538 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.5897, allocations: 0.6931 MB / 0.6545 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001264/0.591, allocations: 353.9 kB / 0.6548 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.5921, allocations: 0.7725 MB / 0.6556 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.5921, allocations: 3.938 kB / 0.6556 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/0.702, allocations: 53.99 MB / 0.7083 GB, free: 4.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.09, allocations: 7.984 kB / 0.7083 GB, free: 4.891 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 & /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 os._exit(0), Time elapsed: 17.66532984600053] Failed to read output from testmodel.py, exit status != 0: 15.248613763978938 15.263163982 14.8817286 Calling exit ...