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.001561/0.001561, allocations: 109.1 kB / 18.94 MB, free: 2.797 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.001745/0.001745, allocations: 220.3 kB / 22.26 MB, free: 5.211 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.992 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.17/0.17, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.002126/0.002126, allocations: 59.91 kB / 471.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4489, allocations: 59.86 MB / 0.5186 GB, free: 9.602 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.04304/0.4919, allocations: 25.86 MB / 0.5438 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01716/0.5091, allocations: 11.71 MB / 0.5553 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.5101, allocations: 23.81 kB / 0.5553 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.5109, allocations: 260.8 kB / 0.5555 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.5143, allocations: 1.002 MB / 0.5565 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005549/0.5199, allocations: 1.529 MB / 0.558 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.5225, allocations: 1.255 MB / 0.5592 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.5236, allocations: 0.5773 MB / 0.5598 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.5245, allocations: 0.6182 MB / 0.5604 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.5257, allocations: 0.6792 MB / 0.5611 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.5259, allocations: 108 kB / 0.5612 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005745/0.5316, allocations: 1.296 MB / 0.5624 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.5321, allocations: 258.7 kB / 0.5627 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.5331, allocations: 0.5455 MB / 0.5632 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008677/0.5418, allocations: 2.595 MB / 0.5657 GB, free: 9.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5418, allocations: 4 kB / 0.5658 GB, free: 9.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.909e-06/0.5418, allocations: 3.984 kB / 0.5658 GB, free: 9.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.708e-05/0.5418, allocations: 0 / 0.5658 GB, free: 9.84 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.004529/0.5464, allocations: 1.45 MB / 0.5672 GB, free: 8.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5464, allocations: 8.031 kB / 0.5672 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003409/0.5468, allocations: 139.6 kB / 0.5673 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.5482, allocations: 215.9 kB / 0.5675 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.5495, allocations: 0.5193 MB / 0.568 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.5496, allocations: 118 kB / 0.5681 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.5499, allocations: 100.3 kB / 0.5682 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.5521, allocations: 1.049 MB / 0.5693 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.5521, allocations: 0 / 0.5693 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5522, allocations: 36 kB / 0.5693 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.5522, allocations: 20 kB / 0.5693 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.5547, allocations: 1.273 MB / 0.5706 GB, free: 4.824 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.007253/0.562, allocations: 3.44 MB / 0.5739 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.5645, allocations: 1.255 MB / 0.5751 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.5652, allocations: 391.7 kB / 0.5755 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005358/0.5706, allocations: 2.197 MB / 0.5777 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.5707, allocations: 46.98 kB / 0.5777 GB, free: 13.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 3.186e-06/0.5707, allocations: 4 kB / 0.5777 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003875/0.5745, allocations: 1.6 MB / 0.5793 GB, free: 11.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.5746, allocations: 60.06 kB / 0.5793 GB, free: 11.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009047/0.5755, allocations: 0.5146 MB / 0.5798 GB, free: 11.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.5755, allocations: 33.7 kB / 0.5799 GB, free: 11.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.576, allocations: 475.7 kB / 0.5803 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.5763, allocations: 238 kB / 0.5805 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.5765, allocations: 170.6 kB / 0.5807 GB, free: 10.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.5768, allocations: 374.8 kB / 0.5811 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.5772, allocations: 213.9 kB / 0.5813 GB, free: 9.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007908/0.578, allocations: 0.5296 MB / 0.5818 GB, free: 8.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.5794, allocations: 0.8182 MB / 0.5826 GB, free: 7.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.5794, allocations: 4 kB / 0.5826 GB, free: 7.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001697/0.5811, allocations: 0.8519 MB / 0.5834 GB, free: 7.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.5811, allocations: 12 kB / 0.5834 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.5811, allocations: 12.81 kB / 0.5834 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/0.5812, allocations: 16 kB / 0.5835 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5822, allocations: 267.6 kB / 0.5837 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.361e-05/0.5822, allocations: 27.92 kB / 0.5837 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.5828, allocations: 32 kB / 0.5838 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5829, allocations: 51.98 kB / 0.5838 GB, free: 6.625 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.0004403/0.5833, allocations: 234 kB / 0.584 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.5835, allocations: 71.58 kB / 0.5841 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.585, allocations: 0.699 MB / 0.5848 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.585, allocations: 8 kB / 0.5848 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.585, allocations: 0 / 0.5848 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.585, allocations: 3.984 kB / 0.5848 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5863, allocations: 0.7401 MB / 0.5855 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5863, allocations: 4 kB / 0.5855 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/0.5871, allocations: 167.8 kB / 0.5857 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.5872, allocations: 8.125 kB / 0.5857 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.5872, allocations: 31.92 kB / 0.5857 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.5872, allocations: 7.938 kB / 0.5857 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5872, allocations: 0 / 0.5857 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.5888, allocations: 0.949 MB / 0.5867 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.5892, allocations: 119.5 kB / 0.5868 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.5893, allocations: 15.94 kB / 0.5868 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.5896, allocations: 16 kB / 0.5868 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5898, allocations: 56.5 kB / 0.5869 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.5898, allocations: 20 kB / 0.5869 GB, free: 3.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004825/0.5903, allocations: 346.8 kB / 0.5872 GB, free: 3.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5903, allocations: 0 / 0.5872 GB, free: 3.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001668/0.592, allocations: 490.6 kB / 0.5877 GB, free: 2.566 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.003507/0.5955, allocations: 1.984 MB / 0.5896 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.5967, allocations: 0.5738 MB / 0.5902 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5967, allocations: 4.438 kB / 0.5902 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.5972, allocations: 263.5 kB / 0.5904 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.5981, allocations: 163.7 kB / 0.5906 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.6085, allocations: 6.132 MB / 0.5966 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.6093, allocations: 0.9578 MB / 0.5975 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007172/0.61, allocations: 169.4 kB / 0.5977 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.6106, allocations: 347.3 kB / 0.598 GB, free: 7.512 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.6106, allocations: 7.938 kB / 0.598 GB, free: 7.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07503/0.6857, allocations: 21.76 MB / 0.6193 GB, free: 1.914 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.6, allocations: 8.047 kB / 0.6193 GB, free: 1.906 MB / 462.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.65597399021499] Failed to read output from testmodel.py, exit status != 0: 13.72562708100304 13.754596772 13.207230789 Calling exit ...