Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00127/0.00127, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00141/0.00141, allocations: 218 kB / 22.25 MB, free: 5.105 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.1284/0.1284, allocations: 23.92 MB / 336.4 MB, free: 10.92 MB / 270.1 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",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.001918/0.001918, allocations: 71.89 kB / 471.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3148, allocations: 59.87 MB / 0.5186 GB, free: 9.586 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.06482/0.3796, allocations: 24.71 MB / 0.5427 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009946/0.3895, allocations: 7.055 MB / 0.5496 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.3901, allocations: 11.88 kB / 0.5496 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.3906, allocations: 173.9 kB / 0.5498 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.3922, allocations: 0.7024 MB / 0.5505 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.3946, allocations: 1.051 MB / 0.5515 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.3957, allocations: 0.9329 MB / 0.5524 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.3963, allocations: 434.9 kB / 0.5528 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.3968, allocations: 470.6 kB / 0.5533 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007178/0.3975, allocations: 0.4927 MB / 0.5538 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3976, allocations: 80 kB / 0.5538 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.3993, allocations: 0.8373 MB / 0.5547 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.3995, allocations: 194 kB / 0.5548 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.3999, allocations: 355 kB / 0.5552 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.4024, allocations: 1.816 MB / 0.557 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4024, allocations: 4 kB / 0.557 GB, free: 1.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4024, allocations: 0 / 0.557 GB, free: 1.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4024, allocations: 4 kB / 0.557 GB, free: 1.941 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.002003/0.4044, allocations: 1.112 MB / 0.558 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4044, allocations: 12.59 kB / 0.5581 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.4046, allocations: 107.1 kB / 0.5582 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.4052, allocations: 153.6 kB / 0.5583 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.406, allocations: 430.9 kB / 0.5587 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.4061, allocations: 106.6 kB / 0.5588 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.4062, allocations: 72.98 kB / 0.5589 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.4076, allocations: 0.7749 MB / 0.5596 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4076, allocations: 0 / 0.5596 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.4077, allocations: 28 kB / 0.5597 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.4077, allocations: 16 kB / 0.5597 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.4092, allocations: 0.8815 MB / 0.5606 GB, free: 14.63 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.003826/0.413, allocations: 2.075 MB / 0.5626 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.4144, allocations: 0.8045 MB / 0.5634 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.4149, allocations: 279.2 kB / 0.5636 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003254/0.4181, allocations: 1.508 MB / 0.5651 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4182, allocations: 38.56 kB / 0.5651 GB, free: 9.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.4182, allocations: 4 kB / 0.5651 GB, free: 9.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002368/0.4205, allocations: 1.166 MB / 0.5663 GB, free: 8.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4206, allocations: 59.34 kB / 0.5663 GB, free: 8.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.421, allocations: 429.7 kB / 0.5667 GB, free: 8.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.4211, allocations: 37.69 kB / 0.5668 GB, free: 8.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.4214, allocations: 380.1 kB / 0.5671 GB, free: 7.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4215, allocations: 178.5 kB / 0.5673 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.4217, allocations: 118.6 kB / 0.5674 GB, free: 7.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4218, allocations: 366.8 kB / 0.5678 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.4221, allocations: 149.9 kB / 0.5679 GB, free: 7.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.4226, allocations: 392.3 kB / 0.5683 GB, free: 6.566 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.4234, allocations: 0.5709 MB / 0.5689 GB, free: 5.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4234, allocations: 4 kB / 0.5689 GB, free: 5.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001009/0.4244, allocations: 0.6085 MB / 0.5695 GB, free: 5.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4244, allocations: 11.94 kB / 0.5695 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4244, allocations: 8.906 kB / 0.5695 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.4244, allocations: 12 kB / 0.5695 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.4252, allocations: 211.7 kB / 0.5697 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.4252, allocations: 19.88 kB / 0.5697 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4255, allocations: 27.98 kB / 0.5697 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.4255, allocations: 32 kB / 0.5698 GB, free: 4.949 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.0002518/0.4258, allocations: 205.6 kB / 0.57 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.4259, allocations: 63.56 kB / 0.57 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.4268, allocations: 0.4897 MB / 0.5705 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4268, allocations: 4 kB / 0.5705 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4268, allocations: 4 kB / 0.5705 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4268, allocations: 3.984 kB / 0.5705 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.4276, allocations: 0.5448 MB / 0.571 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4276, allocations: 0 / 0.571 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.4282, allocations: 148 kB / 0.5712 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4282, allocations: 7.938 kB / 0.5712 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.4282, allocations: 16 kB / 0.5712 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4282, allocations: 0 / 0.5712 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4282, allocations: 4 kB / 0.5712 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4292, allocations: 0.7263 MB / 0.5719 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4294, allocations: 91.56 kB / 0.572 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.4295, allocations: 15.94 kB / 0.572 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4297, allocations: 12 kB / 0.572 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.4298, allocations: 44.36 kB / 0.5721 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.4298, allocations: 16 kB / 0.5721 GB, free: 2.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.4301, allocations: 275.1 kB / 0.5724 GB, free: 2.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4301, allocations: 4 kB / 0.5724 GB, free: 2.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009598/0.4311, allocations: 335.1 kB / 0.5727 GB, free: 1.863 MB / 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.002003/0.4331, allocations: 1.59 MB / 0.5742 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.4338, allocations: 412.9 kB / 0.5746 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4338, allocations: 1.938 kB / 0.5746 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.4341, allocations: 186.4 kB / 0.5748 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.4348, allocations: 140 kB / 0.5749 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006665/0.4414, allocations: 4.828 MB / 0.5797 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4418, allocations: 292.1 kB / 0.5799 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.4422, allocations: 108.6 kB / 0.58 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/0.4425, allocations: 259.3 kB / 0.5803 GB, free: 9.699 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4425, allocations: 0 / 0.5803 GB, free: 9.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.4914, allocations: 16.72 MB / 0.5966 GB, free: 9.176 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.21, allocations: 14.77 kB / 0.5966 GB, free: 9.164 MB / 446.1 MB " [Timeout remaining time 649] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.713045067997882] Failed to read output from testmodel.py, exit status != 0: 11.319462415995076 11.334458931 10.929213829 Calling exit ...