Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 107.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1021/0.1021, allocations: 15.54 MB / 318.2 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.91 kB / 444.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 56.55 MB / 0.4897 GB, free: 4.914 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.SimpleReaction): time 0.4424/0.5552, allocations: 24.8 MB / 0.5139 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.5635, allocations: 7.99 MB / 0.5217 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.5642, allocations: 9.469 kB / 0.5217 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.5649, allocations: 187.2 kB / 0.5219 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.5672, allocations: 0.6955 MB / 0.5226 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.5708, allocations: 1.041 MB / 0.5236 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.5728, allocations: 0.9289 MB / 0.5245 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008035/0.5736, allocations: 431 kB / 0.5249 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.5743, allocations: 466.8 kB / 0.5254 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.5751, allocations: 0.4932 MB / 0.5259 GB, free: 1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.5752, allocations: 83.09 kB / 0.5259 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.5792, allocations: 0.8728 MB / 0.5268 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.5795, allocations: 194.7 kB / 0.527 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006388/0.5801, allocations: 418.4 kB / 0.5274 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005841/0.586, allocations: 1.772 MB / 0.5291 GB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.586, allocations: 0 / 0.5291 GB, free: 15.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.586, allocations: 0 / 0.5291 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.586, allocations: 0 / 0.5291 GB, free: 15.78 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.002889/0.5889, allocations: 1.189 MB / 0.5303 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5889, allocations: 10.83 kB / 0.5303 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.5891, allocations: 111.8 kB / 0.5304 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000764/0.5899, allocations: 158.9 kB / 0.5305 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.5908, allocations: 485.5 kB / 0.531 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.5909, allocations: 81.08 kB / 0.5311 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5911, allocations: 73.86 kB / 0.5311 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5927, allocations: 0.7765 MB / 0.5319 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5927, allocations: 0 / 0.5319 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.5928, allocations: 25.84 kB / 0.5319 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.5928, allocations: 21.56 kB / 0.532 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5945, allocations: 0.8788 MB / 0.5328 GB, free: 13.78 MB / 398.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.005357/0.5998, allocations: 2.574 MB / 0.5353 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.6016, allocations: 0.9811 MB / 0.5363 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.6021, allocations: 281 kB / 0.5366 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004695/0.6068, allocations: 2.834 MB / 0.5393 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.6068, allocations: 31.72 kB / 0.5393 GB, free: 9.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/0.6068, allocations: 1.188 kB / 0.5393 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002993/0.6098, allocations: 1.244 MB / 0.5406 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.6099, allocations: 55.97 kB / 0.5406 GB, free: 8.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.6104, allocations: 418.1 kB / 0.541 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.6105, allocations: 31.42 kB / 0.541 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.6108, allocations: 382.3 kB / 0.5414 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.611, allocations: 175.3 kB / 0.5416 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.6112, allocations: 123.4 kB / 0.5417 GB, free: 7.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.6114, allocations: 359.6 kB / 0.542 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.6117, allocations: 148.8 kB / 0.5422 GB, free: 7.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.6122, allocations: 393.5 kB / 0.5426 GB, free: 6.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.6131, allocations: 0.576 MB / 0.5431 GB, free: 6.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.6131, allocations: 2.156 kB / 0.5431 GB, free: 6.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001256/0.6143, allocations: 0.6231 MB / 0.5437 GB, free: 6.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.6144, allocations: 11.62 kB / 0.5437 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.6144, allocations: 8.594 kB / 0.5437 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.6144, allocations: 11.47 kB / 0.5438 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.6153, allocations: 200.1 kB / 0.544 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.6153, allocations: 19.19 kB / 0.544 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.6157, allocations: 26.23 kB / 0.544 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.6158, allocations: 32.34 kB / 0.544 GB, free: 5.934 MB / 398.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.0003753/0.6162, allocations: 206.9 kB / 0.5442 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.6163, allocations: 58.56 kB / 0.5443 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.6174, allocations: 499 kB / 0.5448 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.6174, allocations: 4.844 kB / 0.5448 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6174, allocations: 0.9688 kB / 0.5448 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6174, allocations: 3.984 kB / 0.5448 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.6185, allocations: 0.6322 MB / 0.5454 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6185, allocations: 1.062 kB / 0.5454 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.6192, allocations: 147 kB / 0.5455 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.6192, allocations: 6.5 kB / 0.5455 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.6192, allocations: 11.84 kB / 0.5455 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6192, allocations: 2.25 kB / 0.5455 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6192, allocations: 2.156 kB / 0.5455 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6204, allocations: 0.7316 MB / 0.5463 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.6207, allocations: 166.3 kB / 0.5464 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.6208, allocations: 14.92 kB / 0.5464 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.621, allocations: 14.91 kB / 0.5464 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.6211, allocations: 36.89 kB / 0.5465 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.6211, allocations: 18.59 kB / 0.5465 GB, free: 4.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003762/0.6215, allocations: 280 kB / 0.5468 GB, free: 4.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6215, allocations: 7.938 kB / 0.5468 GB, free: 4.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001464/0.623, allocations: 329.7 kB / 0.5471 GB, free: 3.949 MB / 398.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.002813/0.6258, allocations: 1.593 MB / 0.5486 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.6268, allocations: 418.9 kB / 0.549 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.6268, allocations: 3.094 kB / 0.549 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.6272, allocations: 183.7 kB / 0.5492 GB, free: 2.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.6281, allocations: 129.5 kB / 0.5493 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.6355, allocations: 4.812 MB / 0.554 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.6361, allocations: 0.8865 MB / 0.5549 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004862/0.6366, allocations: 113.7 kB / 0.555 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.637, allocations: 260.5 kB / 0.5553 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.442e-06/0.637, allocations: 0 / 0.5553 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04881/0.6858, allocations: 15.34 MB / 0.5702 GB, free: 6.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.126/9.812, allocations: 5.875 kB / 0.5703 GB, free: 6.32 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_SimpleReaction.fmu > Chemical_Chemical.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.441928054206073] Failed to read output from testmodel.py, exit status != 0: 9.89354199077934 9.916844753 9.32639118 Calling exit ...