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.0007193/0.0007193, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000755/0.000755, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8473/0.8473, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.07946/0.07946, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 3.938 kB / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.179e-05, allocations: 4.141 kB / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.006748/0.00677, allocations: 7.42 MB / 419 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.02246, allocations: 21.3 MB / 440.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000809/0.02327, allocations: 29.59 kB / 440.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.02414, allocations: 479.3 kB / 440.8 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.02778, allocations: 2.233 MB / 443 MB, free: 7.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.0331, allocations: 3.151 MB / 446.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.03503, allocations: 2.529 MB / 448.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.03589, allocations: 1.124 MB / 449.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.03711, allocations: 1.689 MB / 451.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.03817, allocations: 1.107 MB / 452.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.03834, allocations: 216 kB / 452.9 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.04219, allocations: 2.542 MB / 455.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.04247, allocations: 0.5256 MB / 455.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.04295, allocations: 0.7835 MB / 456.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.04732, allocations: 5.558 MB / 462.3 MB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.04733, allocations: 4 kB / 462.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.04733, allocations: 0 / 462.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.04734, allocations: 0 / 462.3 MB, free: 6.961 MB / 362.7 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.002526/0.04987, allocations: 2.623 MB / 464.9 MB, free: 4.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.04991, allocations: 12.03 kB / 464.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.0501, allocations: 253.5 kB / 465.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.0512, allocations: 419 kB / 465.6 MB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/0.05214, allocations: 0.8975 MB / 466.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.05226, allocations: 238.9 kB / 466.7 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.05244, allocations: 188.3 kB / 466.9 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.0544, allocations: 2.093 MB / 469 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.05442, allocations: 192 / 469 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.05454, allocations: 75.94 kB / 469 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.05456, allocations: 40 kB / 469.1 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.05699, allocations: 2.577 MB / 471.7 MB, free: 13.43 MB / 378.7 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.005667/0.06265, allocations: 5.45 MB / 477.1 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.06538, allocations: 2.534 MB / 479.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.06615, allocations: 0.8275 MB / 480.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005825/0.07198, allocations: 4.259 MB / 484.7 MB, free: 204 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.07201, allocations: 43.88 kB / 484.8 MB, free: 152 kB / 378.7 MB Notification: Performance of pre-optimization done (n=144): time 3.597e-06/0.07201, allocations: 0 / 484.8 MB, free: 152 kB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.0143/0.08631, allocations: 6.747 MB / 491.5 MB, free: 9.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002914/0.0866, allocations: 95.11 kB / 491.6 MB, free: 9.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.08728, allocations: 0.8117 MB / 492.4 MB, free: 8.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.08737, allocations: 61.7 kB / 492.5 MB, free: 8.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.08768, allocations: 0.7546 MB / 493.2 MB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.08803, allocations: 0.6351 MB / 493.9 MB, free: 6.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.08834, allocations: 351.5 kB / 494.2 MB, free: 6.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.0884, allocations: 309.1 kB / 494.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.0891, allocations: 0.6131 MB / 495.1 MB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009323/0.09003, allocations: 1.133 MB / 496.3 MB, free: 4.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.09182, allocations: 1.917 MB / 498.2 MB, free: 2.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.09183, allocations: 6.812 kB / 498.2 MB, free: 2.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004187/0.09602, allocations: 2.467 MB / 0.4889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.09604, allocations: 18.64 kB / 0.4889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.09606, allocations: 16 kB / 0.489 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.09765, allocations: 479.6 kB / 0.4894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.0988, allocations: 0.5149 MB / 0.4899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/0.1049, allocations: 7.219 MB / 0.497 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.1057, allocations: 72 kB / 0.497 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.1058, allocations: 104 kB / 0.4971 GB, free: 6.785 MB / 410.7 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.0005312/0.1063, allocations: 373.1 kB / 0.4975 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.1066, allocations: 147 kB / 0.4976 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.1103, allocations: 2.421 MB / 0.5 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1103, allocations: 24 kB / 0.5 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1104, allocations: 0 / 0.5 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.1104, allocations: 15.95 kB / 0.5 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/0.1156, allocations: 3.792 MB / 0.5037 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1156, allocations: 4 kB / 0.5037 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.1166, allocations: 395.5 kB / 0.5041 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.1181, allocations: 458.9 kB / 0.5046 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.923e-05/0.1182, allocations: 59.91 kB / 0.5046 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006275/0.1245, allocations: 7.029 MB / 0.5115 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1245, allocations: 0 / 0.5115 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/0.1289, allocations: 3.136 MB / 0.5145 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.1291, allocations: 131 kB / 0.5147 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.1292, allocations: 36 kB / 0.5147 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.1297, allocations: 39.98 kB / 0.5147 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.1299, allocations: 153.6 kB / 0.5149 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.13, allocations: 63.97 kB / 0.5149 GB, free: 3.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004582/0.1304, allocations: 0.504 MB / 0.5154 GB, free: 3.449 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1304, allocations: 0 / 0.5154 GB, free: 3.449 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002031/0.1325, allocations: 1.072 MB / 0.5165 GB, free: 2.375 MB / 426.7 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.006327/0.1388, allocations: 4.806 MB / 0.5212 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.1417, allocations: 2.136 MB / 0.5233 GB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1417, allocations: 0 / 0.5233 GB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.143, allocations: 1.31 MB / 0.5245 GB, free: 9.977 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1441, allocations: 312 kB / 0.5248 GB, free: 9.672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.1598, allocations: 13.05 MB / 0.5376 GB, free: 11.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.1603, allocations: 0.693 MB / 0.5383 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000806/0.1611, allocations: 356.9 kB / 0.5386 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000683/0.1618, allocations: 0.7775 MB / 0.5394 GB, free: 10.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1618, allocations: 0 / 0.5394 GB, free: 10.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1862/0.348, allocations: 53.61 MB / 0.5917 GB, free: 151.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.865/9.213, allocations: 9.594 kB / 0.5917 GB, free: 151.2 MB / 490.7 MB " [Timeout remaining time 651] (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: 11.019249587319791] Failed to read output from testmodel.py, exit status != 0: 9.45920215640217 9.332361527 9.283693542 Calling exit ...