Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09487/0.09487, allocations: 15.53 MB / 318.2 MB, free: 13.52 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.WaterSelfIonization,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_WaterSelfIonization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 444.9 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2711, allocations: 56.55 MB / 0.4897 GB, free: 20.63 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.008086/0.2792, allocations: 8.445 MB / 0.498 GB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02366/0.3028, allocations: 24.23 MB / 0.5216 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.3051, allocations: 19.88 kB / 0.5217 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.3069, allocations: 0.5128 MB / 0.5222 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007983/0.3149, allocations: 2.169 MB / 0.5243 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009689/0.3246, allocations: 3.029 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004912/0.3295, allocations: 2.43 MB / 0.5296 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.3315, allocations: 1.153 MB / 0.5307 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.3334, allocations: 1.208 MB / 0.5319 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.3356, allocations: 1.371 MB / 0.5332 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.336, allocations: 216 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008819/0.3448, allocations: 2.699 MB / 0.5361 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007915/0.3456, allocations: 0.5141 MB / 0.5366 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.3472, allocations: 1.07 MB / 0.5376 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.3598, allocations: 5.109 MB / 0.5426 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3599, allocations: 0 / 0.5426 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3599, allocations: 0 / 0.5426 GB, free: 1.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.876e-05/0.3599, allocations: 0 / 0.5426 GB, free: 1.516 MB / 398.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.005538/0.3654, allocations: 2.722 MB / 0.5453 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3655, allocations: 8.031 kB / 0.5453 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002998/0.3658, allocations: 253.5 kB / 0.5455 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.3676, allocations: 419 kB / 0.5459 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.3695, allocations: 0.96 MB / 0.5469 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.3697, allocations: 191.5 kB / 0.5471 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.37, allocations: 184.3 kB / 0.5472 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004126/0.3742, allocations: 2.092 MB / 0.5493 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.3742, allocations: 3.938 kB / 0.5493 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.3745, allocations: 68 kB / 0.5493 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.3745, allocations: 40 kB / 0.5494 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004763/0.3793, allocations: 2.608 MB / 0.5519 GB, free: 7.828 MB / 414.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.01301/0.3923, allocations: 6.636 MB / 0.5584 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005138/0.3974, allocations: 3.039 MB / 0.5614 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.3989, allocations: 0.8314 MB / 0.5622 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/0.4115, allocations: 8.151 MB / 0.5701 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.4115, allocations: 51.81 kB / 0.5702 GB, free: 3.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.276e-06/0.4115, allocations: 0 / 0.5702 GB, free: 3.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03191/0.4435, allocations: 7.029 MB / 0.5771 GB, free: 12.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.4435, allocations: 95.11 kB / 0.5771 GB, free: 12.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4447, allocations: 0.7885 MB / 0.5779 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.4449, allocations: 53.7 kB / 0.578 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.4456, allocations: 0.7624 MB / 0.5787 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/0.4463, allocations: 0.6351 MB / 0.5793 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005677/0.4469, allocations: 367.5 kB / 0.5797 GB, free: 9.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.447, allocations: 305.1 kB / 0.58 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.4482, allocations: 0.617 MB / 0.5806 GB, free: 8.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.45, allocations: 1.137 MB / 0.5817 GB, free: 7.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.4532, allocations: 1.913 MB / 0.5836 GB, free: 5.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4532, allocations: 4 kB / 0.5836 GB, free: 5.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008121/0.4614, allocations: 2.476 MB / 0.586 GB, free: 2.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4614, allocations: 12 kB / 0.586 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4614, allocations: 16 kB / 0.586 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.4654, allocations: 471.1 kB / 0.5865 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.4681, allocations: 0.5227 MB / 0.587 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.48, allocations: 7.68 MB / 0.5945 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4815, allocations: 63.98 kB / 0.5945 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.4817, allocations: 103.9 kB / 0.5946 GB, free: 9.508 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.0007357/0.4825, allocations: 373.3 kB / 0.595 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.4828, allocations: 143.1 kB / 0.5951 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00795/0.4908, allocations: 2.43 MB / 0.5975 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.4908, allocations: 24 kB / 0.5975 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4908, allocations: 0 / 0.5975 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.4908, allocations: 16 kB / 0.5975 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5015, allocations: 4.07 MB / 0.6015 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5016, allocations: 3.984 kB / 0.6015 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/0.5036, allocations: 383.5 kB / 0.6019 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003632/0.5073, allocations: 454.9 kB / 0.6023 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.5074, allocations: 55.97 kB / 0.6024 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2508/0.7583, allocations: 7.514 MB / 0.6097 GB, free: 95.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7583, allocations: 1.391 kB / 0.6097 GB, free: 95.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009312/0.7676, allocations: 3.141 MB / 0.6128 GB, free: 94.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.768, allocations: 205.5 kB / 0.613 GB, free: 94.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.7682, allocations: 34.75 kB / 0.613 GB, free: 94.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/0.7691, allocations: 41.44 kB / 0.613 GB, free: 94.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/0.7695, allocations: 138.9 kB / 0.6132 GB, free: 94.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.7696, allocations: 67 kB / 0.6132 GB, free: 94.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.7703, allocations: 0.5055 MB / 0.6137 GB, free: 93.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7703, allocations: 0.875 kB / 0.6137 GB, free: 93.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003408/0.7737, allocations: 1.072 MB / 0.6148 GB, free: 93.7 MB / 462.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.01113/0.7848, allocations: 4.763 MB / 0.6194 GB, free: 91.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.7886, allocations: 2.135 MB / 0.6215 GB, free: 90.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7886, allocations: 0 / 0.6215 GB, free: 90.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.7906, allocations: 1.318 MB / 0.6228 GB, free: 90.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.7922, allocations: 302.9 kB / 0.6231 GB, free: 89.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/0.8177, allocations: 13.12 MB / 0.6359 GB, free: 82.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.8186, allocations: 1.288 MB / 0.6372 GB, free: 81.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001598/0.8202, allocations: 345.7 kB / 0.6375 GB, free: 80.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.8212, allocations: 0.7725 MB / 0.6382 GB, free: 80.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.8212, allocations: 3.938 kB / 0.6382 GB, free: 80.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09835/0.9195, allocations: 50.82 MB / 0.6879 GB, free: 29.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.49/23.41, allocations: 15.94 kB / 0.6879 GB, free: 29.47 MB / 462.1 MB " [Timeout remaining time 636] (rm -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_AcidBase_WaterSelfIonization_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_AcidBase_WaterSelfIonization.fmu > Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.240921488963068] Failed to read output from testmodel.py, exit status != 0: 23.536030053161085 23.554484786 23.190758375 Calling exit ...