Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.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.001295/0.001295, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001506/0.001506, allocations: 213.4 kB / 22.26 MB, free: 5.125 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1339/0.1339, allocations: 23.84 MB / 336.3 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",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.001921/0.001921, allocations: 59.91 kB / 471.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 59.87 MB / 0.5186 GB, free: 9.605 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction2): time 0.03775/0.3748, allocations: 25.86 MB / 0.5438 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.3898, allocations: 11.7 MB / 0.5553 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009775/0.3908, allocations: 23.81 kB / 0.5553 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.3917, allocations: 268.3 kB / 0.5555 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.395, allocations: 0.999 MB / 0.5565 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.3997, allocations: 1.528 MB / 0.558 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.4016, allocations: 1.259 MB / 0.5592 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008409/0.4025, allocations: 0.5772 MB / 0.5598 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007757/0.4032, allocations: 0.6147 MB / 0.5604 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.4042, allocations: 0.6789 MB / 0.5611 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.4044, allocations: 108 kB / 0.5612 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.4083, allocations: 1.3 MB / 0.5624 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.4086, allocations: 258.8 kB / 0.5627 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006082/0.4092, allocations: 0.5459 MB / 0.5632 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.4155, allocations: 2.591 MB / 0.5657 GB, free: 9.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4155, allocations: 4 kB / 0.5658 GB, free: 9.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4155, allocations: 0 / 0.5658 GB, free: 9.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.4155, allocations: 0 / 0.5658 GB, free: 9.809 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002619/0.4181, allocations: 1.454 MB / 0.5672 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4182, allocations: 8.031 kB / 0.5672 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.4184, allocations: 143.6 kB / 0.5673 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.4192, allocations: 211.9 kB / 0.5675 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.4202, allocations: 0.5193 MB / 0.568 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.4203, allocations: 118 kB / 0.5681 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.4204, allocations: 88.38 kB / 0.5682 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.4221, allocations: 1.057 MB / 0.5693 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4221, allocations: 0 / 0.5693 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.4222, allocations: 36 kB / 0.5693 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4222, allocations: 20 kB / 0.5693 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.4242, allocations: 1.273 MB / 0.5706 GB, free: 4.793 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.005218/0.4294, allocations: 3.447 MB / 0.5739 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.432, allocations: 1.254 MB / 0.5751 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/0.4326, allocations: 399.7 kB / 0.5755 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004435/0.437, allocations: 2.193 MB / 0.5777 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4371, allocations: 47 kB / 0.5777 GB, free: 13.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 1.684e-06/0.4371, allocations: 0 / 0.5777 GB, free: 13.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003049/0.4401, allocations: 1.603 MB / 0.5793 GB, free: 11.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.4402, allocations: 56.06 kB / 0.5793 GB, free: 11.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.4408, allocations: 0.5107 MB / 0.5798 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.4408, allocations: 33.7 kB / 0.5799 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.4411, allocations: 479.7 kB / 0.5803 GB, free: 10.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.4413, allocations: 234 kB / 0.5805 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.4415, allocations: 174.6 kB / 0.5807 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4417, allocations: 374.8 kB / 0.5811 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.4421, allocations: 217.9 kB / 0.5813 GB, free: 9.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.4428, allocations: 0.5257 MB / 0.5818 GB, free: 8.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4438, allocations: 0.8182 MB / 0.5826 GB, free: 7.863 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4439, allocations: 4 kB / 0.5826 GB, free: 7.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001297/0.4451, allocations: 0.848 MB / 0.5834 GB, free: 7.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4452, allocations: 12 kB / 0.5834 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.4452, allocations: 16.81 kB / 0.5834 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.4452, allocations: 16 kB / 0.5835 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/0.4461, allocations: 267.6 kB / 0.5837 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/0.4461, allocations: 23.92 kB / 0.5837 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.4465, allocations: 32 kB / 0.5838 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.4466, allocations: 48 kB / 0.5838 GB, free: 6.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.4469, allocations: 238 kB / 0.584 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.447, allocations: 71.58 kB / 0.5841 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.4482, allocations: 0.6952 MB / 0.5848 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4483, allocations: 8 kB / 0.5848 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.4483, allocations: 7.922 kB / 0.5848 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4483, allocations: 3.984 kB / 0.5848 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4493, allocations: 0.7362 MB / 0.5855 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4493, allocations: 4 kB / 0.5855 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.4501, allocations: 175.9 kB / 0.5857 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4501, allocations: 8 kB / 0.5857 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.4501, allocations: 19.94 kB / 0.5857 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4501, allocations: 4 kB / 0.5857 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.4501, allocations: 7.922 kB / 0.5857 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.4515, allocations: 0.9529 MB / 0.5867 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.4518, allocations: 111.5 kB / 0.5868 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.4519, allocations: 23.92 kB / 0.5868 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.4521, allocations: 16 kB / 0.5868 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4522, allocations: 56.5 kB / 0.5869 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.4523, allocations: 24 kB / 0.5869 GB, free: 3.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.4526, allocations: 342.8 kB / 0.5872 GB, free: 3.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4526, allocations: 0 / 0.5872 GB, free: 3.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001357/0.454, allocations: 490.6 kB / 0.5877 GB, free: 2.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003002/0.457, allocations: 1.988 MB / 0.5896 GB, free: 0.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.458, allocations: 0.5702 MB / 0.5902 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.458, allocations: 4.062 kB / 0.5902 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.4584, allocations: 255.6 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.4592, allocations: 172.6 kB / 0.5906 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.4674, allocations: 6.139 MB / 0.5966 GB, free: 8.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.4681, allocations: 0.9539 MB / 0.5975 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.4686, allocations: 173.4 kB / 0.5977 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.4691, allocations: 343.3 kB / 0.598 GB, free: 7.473 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4691, allocations: 0 / 0.598 GB, free: 7.473 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08128/0.5503, allocations: 21.77 MB / 0.6193 GB, free: 1.867 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.08, allocations: 3.094 kB / 0.6193 GB, free: 1.867 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.SimpleReaction2_res.csv --start-time 0 --stop-time 0.0001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-08 Chemical_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.788077584998973] Failed to read output from testmodel.py, exit status != 0: 12.19336955199833 12.207507506 11.789060818 Calling exit ...