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.0007027/0.0007027, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007044/0.0007044, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8276/0.8276, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08607/0.08607, allocations: 17.45 MB / 276.6 MB, free: 11.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.805e-05, allocations: 3.125 kB / 411.6 MB, free: 12.45 MB / 330.7 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.02106/0.02108, allocations: 25.1 MB / 436.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00706/0.02814, allocations: 7.064 MB / 443.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.0287, allocations: 15.88 kB / 443.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.02921, allocations: 169.8 kB / 443.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.03077, allocations: 0.7331 MB / 444.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.03308, allocations: 1.062 MB / 445.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.03413, allocations: 0.9756 MB / 446.7 MB, free: 6.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.03462, allocations: 428 kB / 447.1 MB, free: 5.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.03517, allocations: 0.6372 MB / 447.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.03566, allocations: 402 kB / 448.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.03576, allocations: 80 kB / 448.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.03756, allocations: 0.8246 MB / 449 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.03772, allocations: 201.8 kB / 449.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.03796, allocations: 300.5 kB / 449.5 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.04023, allocations: 1.911 MB / 451.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.04023, allocations: 11.88 kB / 451.4 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04023, allocations: 0 / 451.4 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.04025, allocations: 4 kB / 451.5 MB, free: 2.102 MB / 346.7 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.001344/0.04159, allocations: 1.1 MB / 452.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.04163, allocations: 12.03 kB / 452.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.438e-05/0.04172, allocations: 110.7 kB / 452.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/0.0421, allocations: 156.1 kB / 452.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.0426, allocations: 429 kB / 453.2 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.04268, allocations: 109.9 kB / 453.4 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.04276, allocations: 68.31 kB / 453.4 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.04355, allocations: 0.7743 MB / 454.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.04356, allocations: 192 / 454.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.0436, allocations: 31.94 kB / 454.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.04361, allocations: 20 kB / 454.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/0.04447, allocations: 0.8679 MB / 455.1 MB, free: 14.35 MB / 362.7 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.002254/0.04673, allocations: 2.074 MB / 457.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008503/0.04758, allocations: 0.8052 MB / 458 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.04784, allocations: 287.2 kB / 458.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/0.0496, allocations: 1.512 MB / 459.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.04962, allocations: 30.56 kB / 459.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.04962, allocations: 4 kB / 459.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001478/0.0511, allocations: 1.166 MB / 461 MB, free: 8.332 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.05113, allocations: 59.34 kB / 461 MB, free: 8.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.05144, allocations: 437.7 kB / 461.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.05146, allocations: 29.7 kB / 461.5 MB, free: 7.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.05164, allocations: 380.1 kB / 461.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.05172, allocations: 170.6 kB / 462 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.05183, allocations: 134.5 kB / 462.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.05192, allocations: 358.8 kB / 462.5 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.05209, allocations: 149.9 kB / 462.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.05236, allocations: 392.3 kB / 463 MB, free: 6.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.05285, allocations: 0.5757 MB / 463.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.05285, allocations: 0 / 463.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006036/0.05345, allocations: 0.6177 MB / 464.2 MB, free: 4.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.05347, allocations: 8.938 kB / 464.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.05348, allocations: 8 kB / 464.3 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.0535, allocations: 12 kB / 464.3 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.05389, allocations: 211.6 kB / 464.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.0539, allocations: 23.86 kB / 464.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.05405, allocations: 24 kB / 464.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.05409, allocations: 32 kB / 464.6 MB, free: 4.496 MB / 362.7 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.0001647/0.05425, allocations: 205.6 kB / 464.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.0543, allocations: 55.67 kB / 464.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.05488, allocations: 0.4949 MB / 465.3 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.05488, allocations: 4 kB / 465.3 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.05489, allocations: 3.938 kB / 465.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.0549, allocations: 7.984 kB / 465.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.05538, allocations: 0.5449 MB / 465.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.05538, allocations: 0 / 465.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.05568, allocations: 147.9 kB / 466 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.05569, allocations: 4 kB / 466 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.05571, allocations: 16 kB / 466 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.05571, allocations: 0 / 466 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.05572, allocations: 7.938 kB / 466 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.05637, allocations: 0.7245 MB / 466.8 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.05649, allocations: 87.67 kB / 466.8 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.05652, allocations: 8 kB / 466.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.05663, allocations: 19.98 kB / 466.9 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.0567, allocations: 40.38 kB / 466.9 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.05672, allocations: 16 kB / 466.9 MB, free: 2.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.05692, allocations: 279.1 kB / 467.2 MB, free: 1.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.05692, allocations: 0 / 467.2 MB, free: 1.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006956/0.05761, allocations: 335.1 kB / 467.5 MB, free: 1.41 MB / 362.7 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.001421/0.05903, allocations: 1.616 MB / 469.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.05952, allocations: 414 kB / 469.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.05952, allocations: 2 kB / 469.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.0597, allocations: 190.7 kB / 469.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.06015, allocations: 133.3 kB / 469.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.06402, allocations: 4.745 MB / 474.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.06419, allocations: 292.1 kB / 474.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.06445, allocations: 112.5 kB / 475 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.06468, allocations: 256.4 kB / 475.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.06468, allocations: 4 kB / 475.3 MB, free: 9.305 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.0926, allocations: 16.64 MB / 491.9 MB, free: 8.836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/6.581, allocations: 14.44 kB / 491.9 MB, free: 8.828 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.387951304204762] Failed to read output from testmodel.py, exit status != 0: 6.796766954474151 6.6735463489999995 6.63186001 Calling exit ...