Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.001897/0.001897, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001643/0.001643, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.505/1.505, allocations: 230.6 MB / 256.8 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.1657/0.1657, allocations: 23.85 MB / 337.1 MB, free: 11.19 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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",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.002327/0.002327, allocations: 75.89 kB / 471.9 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3724, allocations: 59.86 MB / 0.5193 GB, free: 9.625 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.SimpleReaction): time 0.04228/0.4147, allocations: 24.87 MB / 0.5436 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.4267, allocations: 8.047 MB / 0.5515 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.4273, allocations: 15.88 kB / 0.5515 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.4279, allocations: 190.5 kB / 0.5517 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.4299, allocations: 0.6979 MB / 0.5524 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.4329, allocations: 1.043 MB / 0.5534 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.4342, allocations: 0.93 MB / 0.5543 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006327/0.4349, allocations: 447.1 kB / 0.5547 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.4354, allocations: 464.8 kB / 0.5552 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.4362, allocations: 0.5006 MB / 0.5556 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.4363, allocations: 76 kB / 0.5557 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4387, allocations: 0.8735 MB / 0.5566 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.4389, allocations: 198.3 kB / 0.5568 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.4394, allocations: 414.7 kB / 0.5572 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.4425, allocations: 1.819 MB / 0.5589 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4425, allocations: 0 / 0.5589 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4425, allocations: 0 / 0.5589 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4425, allocations: 4 kB / 0.5589 GB, free: 0.9688 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002263/0.4448, allocations: 1.12 MB / 0.56 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4448, allocations: 12.03 kB / 0.56 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.85e-05/0.4448, allocations: 18.19 kB / 0.5601 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.445, allocations: 107.2 kB / 0.5602 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.4456, allocations: 157.8 kB / 0.5603 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.4464, allocations: 430.6 kB / 0.5607 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.4465, allocations: 106.6 kB / 0.5608 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4467, allocations: 80.78 kB / 0.5609 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.448, allocations: 0.7723 MB / 0.5617 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.448, allocations: 0 / 0.5617 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.4481, allocations: 28 kB / 0.5617 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.4481, allocations: 16 kB / 0.5617 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.4496, allocations: 0.8821 MB / 0.5626 GB, free: 13.62 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.004182/0.4538, allocations: 2.531 MB / 0.565 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.4553, allocations: 0.8162 MB / 0.5658 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.4558, allocations: 283.2 kB / 0.5661 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003275/0.4591, allocations: 1.59 MB / 0.5676 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4591, allocations: 38.56 kB / 0.5677 GB, free: 8.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.4591, allocations: 3.938 kB / 0.5677 GB, free: 8.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002447/0.4615, allocations: 1.17 MB / 0.5688 GB, free: 7.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4616, allocations: 55.41 kB / 0.5689 GB, free: 7.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.4621, allocations: 425.7 kB / 0.5693 GB, free: 6.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.4621, allocations: 29.7 kB / 0.5693 GB, free: 6.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.4624, allocations: 380.2 kB / 0.5697 GB, free: 6.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4626, allocations: 166.6 kB / 0.5698 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.4628, allocations: 126.6 kB / 0.57 GB, free: 5.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.463, allocations: 362.8 kB / 0.5703 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4632, allocations: 153.9 kB / 0.5705 GB, free: 5.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.4637, allocations: 388.3 kB / 0.5708 GB, free: 4.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/0.4645, allocations: 0.5787 MB / 0.5714 GB, free: 4.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4645, allocations: 0 / 0.5714 GB, free: 4.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001044/0.4656, allocations: 0.6124 MB / 0.572 GB, free: 3.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.4656, allocations: 12.88 kB / 0.572 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4656, allocations: 8 kB / 0.572 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.4657, allocations: 12 kB / 0.572 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.4664, allocations: 207.7 kB / 0.5722 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.4664, allocations: 15.94 kB / 0.5722 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.4667, allocations: 23.98 kB / 0.5723 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.4668, allocations: 32 kB / 0.5723 GB, free: 3.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0002871/0.4671, allocations: 209.5 kB / 0.5725 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.4672, allocations: 59.59 kB / 0.5725 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/0.4682, allocations: 0.4897 MB / 0.573 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4682, allocations: 4 kB / 0.573 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4682, allocations: 0 / 0.573 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4682, allocations: 3.984 kB / 0.573 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.469, allocations: 0.5994 MB / 0.5736 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.469, allocations: 4.125 kB / 0.5736 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.4696, allocations: 135.9 kB / 0.5737 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.4696, allocations: 7.938 kB / 0.5738 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.4696, allocations: 20 kB / 0.5738 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.4696, allocations: 15.86 kB / 0.5738 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4696, allocations: 0 / 0.5738 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.4707, allocations: 0.7264 MB / 0.5745 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.4709, allocations: 91.61 kB / 0.5746 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.4709, allocations: 8 kB / 0.5746 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.4712, allocations: 11.98 kB / 0.5746 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.4712, allocations: 40.38 kB / 0.5746 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.4713, allocations: 20 kB / 0.5747 GB, free: 0.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003131/0.4716, allocations: 283.1 kB / 0.5749 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4716, allocations: 0 / 0.5749 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4726, allocations: 331.1 kB / 0.5752 GB, free: 236 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.002252/0.4749, allocations: 1.59 MB / 0.5768 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007666/0.4756, allocations: 417.3 kB / 0.5772 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4756, allocations: 0 / 0.5772 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.4759, allocations: 203.7 kB / 0.5774 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.4766, allocations: 135.3 kB / 0.5775 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.4835, allocations: 4.813 MB / 0.5822 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.4841, allocations: 0.89 MB / 0.5831 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.4845, allocations: 116.6 kB / 0.5832 GB, free: 7.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.4849, allocations: 255.3 kB / 0.5834 GB, free: 7.461 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4849, allocations: 0 / 0.5834 GB, free: 7.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/0.529, allocations: 16.08 MB / 0.5991 GB, free: 7.527 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.98, allocations: 7.344 kB / 0.5992 GB, free: 7.523 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.02660681598354] Failed to read output from testmodel.py, exit status != 0: 13.15519238798879 13.184241834 12.736564974 Calling exit ...