Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.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.0008101/0.0008101, 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.0008239/0.0008239, 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.9084/0.9084, 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 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.08488/0.08488, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 411.4 MB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.124e-05, allocations: 3.828 kB / 411.4 MB, free: 420 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003087/0.003108, allocations: 2.823 MB / 414.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.00749, allocations: 5.53 MB / 419.8 MB, free: 8.012 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.007711, allocations: 7.938 kB / 419.8 MB, free: 8.004 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.008112, allocations: 150.8 kB / 420 MB, free: 7.855 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005164/0.008629, allocations: 261.9 kB / 420.2 MB, free: 7.598 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.0103, allocations: 1.001 MB / 421.2 MB, free: 6.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.01086, allocations: 0.5102 MB / 421.7 MB, free: 6.078 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.01105, allocations: 136.7 kB / 421.9 MB, free: 5.941 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.01126, allocations: 299.5 kB / 422.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.01149, allocations: 211.5 kB / 422.4 MB, free: 5.441 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.01153, allocations: 24 kB / 422.4 MB, free: 5.418 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.01228, allocations: 0.5301 MB / 422.9 MB, free: 4.887 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.01236, allocations: 83.67 kB / 423 MB, free: 4.805 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.01245, allocations: 123.8 kB / 423.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000959/0.01341, allocations: 1.105 MB / 424.2 MB, free: 3.574 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01341, allocations: 7.938 kB / 424.2 MB, free: 3.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01342, allocations: 4 kB / 424.2 MB, free: 3.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01342, allocations: 0 / 424.2 MB, free: 3.562 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007325/0.01415, allocations: 0.6755 MB / 424.9 MB, free: 2.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.01419, allocations: 15.97 kB / 424.9 MB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.01424, allocations: 54.73 kB / 425 MB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.01453, allocations: 116.3 kB / 425.1 MB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.0149, allocations: 321.5 kB / 425.4 MB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.01491, allocations: 16.88 kB / 425.4 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.01495, allocations: 20.38 kB / 425.4 MB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.01533, allocations: 390.9 kB / 425.8 MB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.01534, allocations: 0 / 425.8 MB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01536, allocations: 4 kB / 425.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.01537, allocations: 12 kB / 425.8 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.01591, allocations: 0.5395 MB / 426.4 MB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01708, allocations: 1.313 MB / 427.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.01731, allocations: 166.4 kB / 427.8 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.01741, allocations: 84.83 kB / 427.9 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.01848, allocations: 0.9481 MB / 428.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.0185, allocations: 30.56 kB / 428.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.0185, allocations: 0 / 428.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003747/0.01888, allocations: 221.3 kB / 429.1 MB, free: 14.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.01892, allocations: 55.41 kB / 429.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.01931, allocations: 377.5 kB / 429.5 MB, free: 14.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.01933, allocations: 25.7 kB / 429.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.01946, allocations: 239.8 kB / 429.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.01949, allocations: 47.64 kB / 429.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.01956, allocations: 65.66 kB / 429.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.01968, allocations: 350.7 kB / 430.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.01976, allocations: 59.97 kB / 430.3 MB, free: 13.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.01994, allocations: 248.8 kB / 430.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.02023, allocations: 344.5 kB / 430.9 MB, free: 12.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02024, allocations: 0 / 430.9 MB, free: 12.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003725/0.02061, allocations: 349.5 kB / 431.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.02063, allocations: 11.98 kB / 431.2 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.02064, allocations: 8 kB / 431.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.02066, allocations: 8 kB / 431.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.02081, allocations: 79.84 kB / 431.3 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.02082, allocations: 11.94 kB / 431.4 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.02093, allocations: 43.67 kB / 431.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.02095, allocations: 24 kB / 431.4 MB, free: 11.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001063/0.02106, allocations: 161.6 kB / 431.6 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.0211, allocations: 43.88 kB / 431.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.02143, allocations: 286.8 kB / 431.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.02143, allocations: 7.984 kB / 431.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.02143, allocations: 0 / 431.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.02144, allocations: 0 / 431.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.02186, allocations: 0.5914 MB / 432.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02186, allocations: 0 / 432.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.02189, allocations: 15.98 kB / 432.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.0219, allocations: 3.938 kB / 432.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.02191, allocations: 4 kB / 432.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.02191, allocations: 0 / 432.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.02191, allocations: 4 kB / 432.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.0222, allocations: 169.1 kB / 432.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.02224, allocations: 43.77 kB / 432.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.02227, allocations: 11.95 kB / 432.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.02232, allocations: 8 kB / 432.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.02234, allocations: 4 kB / 432.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.02235, allocations: 0 / 432.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.02256, allocations: 319.1 kB / 433.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02256, allocations: 0 / 433.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.02289, allocations: 171.4 kB / 433.2 MB, free: 9.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0005969/0.02348, allocations: 0.9162 MB / 434.2 MB, free: 9.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.02369, allocations: 163.7 kB / 434.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02369, allocations: 5.75 kB / 434.3 MB, free: 8.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.02372, allocations: 23.92 kB / 434.3 MB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.02405, allocations: 112 kB / 434.5 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.02646, allocations: 3.218 MB / 437.7 MB, free: 5.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02656, allocations: 169.2 kB / 437.8 MB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.02673, allocations: 94.67 kB / 437.9 MB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.02685, allocations: 116.5 kB / 438 MB, free: 4.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02685, allocations: 0 / 438 MB, free: 4.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.183/0.2098, allocations: 10.98 MB / 449 MB, free: 69.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.945, allocations: 3.172 kB / 449 MB, free: 69.54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.78724358510226] Failed to read output from testmodel.py, exit status != 0: 7.0291015999391675 7.038677946 7.02296696 Calling exit ...