Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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.00155/0.00155, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001621/0.001621, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.0868/0.0868, allocations: 15.53 MB / 318.2 MB, free: 13.55 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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.89 kB / 444.9 MB, free: 112 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 56.56 MB / 0.4897 GB, free: 20.69 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.SimpleReaction2): time 0.03202/0.3647, allocations: 25.61 MB / 0.5147 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01668/0.3814, allocations: 11.66 MB / 0.5261 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009702/0.3823, allocations: 15.88 kB / 0.5261 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.3832, allocations: 262 kB / 0.5264 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.3862, allocations: 0.989 MB / 0.5273 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.3906, allocations: 1.511 MB / 0.5288 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.3928, allocations: 1.255 MB / 0.53 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.3937, allocations: 0.5763 MB / 0.5306 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.3944, allocations: 0.6117 MB / 0.5312 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009285/0.3953, allocations: 0.6813 MB / 0.5319 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3955, allocations: 108 kB / 0.532 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005403/0.4009, allocations: 1.295 MB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005249/0.4014, allocations: 255.2 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.4022, allocations: 0.5522 MB / 0.534 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007293/0.4095, allocations: 2.517 MB / 0.5365 GB, free: 7.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4095, allocations: 4 kB / 0.5365 GB, free: 7.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4095, allocations: 0 / 0.5365 GB, free: 7.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.4096, allocations: 0 / 0.5365 GB, free: 7.977 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003059/0.4126, allocations: 1.525 MB / 0.538 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4127, allocations: 12.03 kB / 0.538 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.4129, allocations: 139.6 kB / 0.5381 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.4138, allocations: 207.9 kB / 0.5383 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.415, allocations: 0.5836 MB / 0.5389 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.4151, allocations: 100.1 kB / 0.539 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4153, allocations: 96.33 kB / 0.5391 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.4172, allocations: 1.045 MB / 0.5401 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.4172, allocations: 4 kB / 0.5401 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.4173, allocations: 36 kB / 0.5401 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.4173, allocations: 24 kB / 0.5402 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.4196, allocations: 1.273 MB / 0.5414 GB, free: 2.816 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.006167/0.4257, allocations: 3.47 MB / 0.5448 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.4283, allocations: 1.47 MB / 0.5462 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006761/0.429, allocations: 415.4 kB / 0.5466 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006443/0.4354, allocations: 4.03 MB / 0.5505 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4355, allocations: 35.12 kB / 0.5506 GB, free: 8.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 3.005e-06/0.4355, allocations: 0 / 0.5506 GB, free: 8.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003691/0.4392, allocations: 1.686 MB / 0.5522 GB, free: 6.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.4392, allocations: 59.97 kB / 0.5523 GB, free: 6.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.44, allocations: 0.5106 MB / 0.5528 GB, free: 6.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.4401, allocations: 37.7 kB / 0.5528 GB, free: 6.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.4405, allocations: 483.7 kB / 0.5533 GB, free: 5.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.4407, allocations: 234 kB / 0.5535 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.441, allocations: 174.6 kB / 0.5537 GB, free: 5.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.4412, allocations: 378.8 kB / 0.554 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.4416, allocations: 213.9 kB / 0.5542 GB, free: 4.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/0.4424, allocations: 0.5373 MB / 0.5548 GB, free: 4.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.4436, allocations: 0.817 MB / 0.5556 GB, free: 3.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4436, allocations: 0 / 0.5556 GB, free: 3.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001427/0.445, allocations: 0.8542 MB / 0.5564 GB, free: 2.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4451, allocations: 8 kB / 0.5564 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.4451, allocations: 15.94 kB / 0.5564 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.4451, allocations: 16 kB / 0.5564 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009747/0.4461, allocations: 263.9 kB / 0.5567 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.4461, allocations: 31.86 kB / 0.5567 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.4465, allocations: 24 kB / 0.5567 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.4466, allocations: 48 kB / 0.5568 GB, free: 1.918 MB / 414.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.0003509/0.4469, allocations: 233.5 kB / 0.557 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4471, allocations: 71.52 kB / 0.5571 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4484, allocations: 0.6932 MB / 0.5578 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4484, allocations: 8 kB / 0.5578 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4484, allocations: 0 / 0.5578 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4484, allocations: 3.984 kB / 0.5578 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.4495, allocations: 0.7682 MB / 0.5585 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4495, allocations: 4.031 kB / 0.5585 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.4503, allocations: 171.8 kB / 0.5587 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.4503, allocations: 4 kB / 0.5587 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.4503, allocations: 19.94 kB / 0.5587 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.4504, allocations: 7.938 kB / 0.5587 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.4504, allocations: 7.984 kB / 0.5587 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.4519, allocations: 0.9485 MB / 0.5596 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.4522, allocations: 188.6 kB / 0.5598 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.4523, allocations: 27.92 kB / 0.5599 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.4526, allocations: 15.94 kB / 0.5599 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4527, allocations: 56.53 kB / 0.5599 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.4527, allocations: 24 kB / 0.5599 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004236/0.4531, allocations: 342.8 kB / 0.5603 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4531, allocations: 0 / 0.5603 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001356/0.4545, allocations: 486.6 kB / 0.5607 GB, free: 13.73 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.002907/0.4574, allocations: 1.995 MB / 0.5627 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.4585, allocations: 0.5764 MB / 0.5632 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4585, allocations: 384 / 0.5632 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.4589, allocations: 267 kB / 0.5635 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.4598, allocations: 153 kB / 0.5636 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/0.4697, allocations: 6.119 MB / 0.5696 GB, free: 4.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009076/0.4706, allocations: 0.9656 MB / 0.5706 GB, free: 3.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007646/0.4714, allocations: 169.5 kB / 0.5707 GB, free: 3.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/0.472, allocations: 347.3 kB / 0.5711 GB, free: 2.684 MB / 430.1 MB Notification: Performance of SimCode: time 1.944e-06/0.472, allocations: 4 kB / 0.5711 GB, free: 2.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05591/0.5279, allocations: 20.78 MB / 0.5914 GB, free: 14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.542/10.07, allocations: 9.391 kB / 0.5914 GB, free: 14 MB / 462.1 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_SimpleReaction2.fmu > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.707922745961696] Failed to read output from testmodel.py, exit status != 0: 10.152290211990476 10.168131265 9.755152133 Calling exit ...