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.000771/0.000771, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000785/0.000785, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.895/0.895, 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.09639/0.09639, allocations: 17.38 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 2.314e-06/2.314e-06, allocations: 0 / 411.5 MB, free: 416 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.961e-05, allocations: 2.281 kB / 411.5 MB, free: 412 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004341/0.00436, allocations: 2.813 MB / 414.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.01021, allocations: 5.537 MB / 419.8 MB, free: 8.008 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.01038, allocations: 11.88 kB / 419.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.01075, allocations: 138.9 kB / 420 MB, free: 7.859 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.01122, allocations: 269.8 kB / 420.2 MB, free: 7.594 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.01263, allocations: 0.9972 MB / 421.2 MB, free: 6.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.01318, allocations: 0.5023 MB / 421.7 MB, free: 6.086 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.0134, allocations: 140.7 kB / 421.9 MB, free: 5.945 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.01362, allocations: 303.4 kB / 422.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.01387, allocations: 215.5 kB / 422.4 MB, free: 5.438 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.01391, allocations: 28 kB / 422.4 MB, free: 5.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.01463, allocations: 0.5224 MB / 422.9 MB, free: 4.887 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.01471, allocations: 83.67 kB / 423 MB, free: 4.805 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.01481, allocations: 123.7 kB / 423.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.01573, allocations: 1.105 MB / 424.2 MB, free: 3.574 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01574, allocations: 3.938 kB / 424.2 MB, free: 3.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01574, allocations: 0 / 424.2 MB, free: 3.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.01574, allocations: 4 kB / 424.2 MB, free: 3.566 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.0007129/0.01645, allocations: 0.6833 MB / 424.9 MB, free: 2.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01649, allocations: 11.97 kB / 424.9 MB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.01654, allocations: 54.73 kB / 425 MB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.01685, allocations: 120.3 kB / 425.1 MB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.01723, allocations: 317.5 kB / 425.4 MB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.01724, allocations: 12.88 kB / 425.4 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.01727, allocations: 28.36 kB / 425.4 MB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.01767, allocations: 386.9 kB / 425.8 MB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01768, allocations: 4 kB / 425.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.0177, allocations: 4 kB / 425.8 MB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01771, allocations: 8 kB / 425.8 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.01823, allocations: 0.5395 MB / 426.4 MB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.0194, allocations: 1.324 MB / 427.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.01963, allocations: 154.5 kB / 427.8 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.01974, allocations: 92.81 kB / 427.9 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.02082, allocations: 0.9402 MB / 428.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.02084, allocations: 42.5 kB / 428.9 MB, free: 14.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.02084, allocations: 0 / 428.9 MB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000329/0.02117, allocations: 213.4 kB / 429.1 MB, free: 14.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.0212, allocations: 55.41 kB / 429.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.02147, allocations: 381.5 kB / 429.6 MB, free: 14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.02148, allocations: 25.7 kB / 429.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.02159, allocations: 231.8 kB / 429.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.02162, allocations: 43.64 kB / 429.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.02168, allocations: 73.64 kB / 429.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.02178, allocations: 350.8 kB / 430.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.02186, allocations: 63.95 kB / 430.3 MB, free: 13.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.02201, allocations: 244.8 kB / 430.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.02228, allocations: 344.5 kB / 430.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.02228, allocations: 4 kB / 430.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003405/0.02262, allocations: 349.5 kB / 431.2 MB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.02264, allocations: 8 kB / 431.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.02264, allocations: 12.06 kB / 431.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.02266, allocations: 8 kB / 431.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.0228, allocations: 75.84 kB / 431.3 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.02281, allocations: 11.98 kB / 431.4 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.02291, allocations: 47.67 kB / 431.4 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.02294, allocations: 23.94 kB / 431.4 MB, free: 11.92 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.0001076/0.02305, allocations: 161.6 kB / 431.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.02308, allocations: 35.77 kB / 431.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.02341, allocations: 292.8 kB / 431.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.02341, allocations: 3.938 kB / 431.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.02341, allocations: 4 kB / 431.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.02342, allocations: 0 / 431.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.02384, allocations: 0.5836 MB / 432.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.02384, allocations: 0 / 432.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.02387, allocations: 16.17 kB / 432.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.02388, allocations: 7.938 kB / 432.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.02389, allocations: 8 kB / 432.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.02389, allocations: 0 / 432.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02389, allocations: 3.938 kB / 432.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.02401, allocations: 165.2 kB / 432.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.02406, allocations: 39.75 kB / 432.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.02409, allocations: 15.86 kB / 432.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.02414, allocations: 8 kB / 432.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.02415, allocations: 7.922 kB / 432.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.02416, allocations: 8 kB / 432.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.02438, allocations: 315.1 kB / 433.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02438, allocations: 0 / 433.1 MB, free: 10.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.02471, allocations: 171.4 kB / 433.3 MB, free: 9.965 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.0005886/0.02529, allocations: 0.9085 MB / 434.2 MB, free: 9.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.0255, allocations: 164.3 kB / 434.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.0255, allocations: 0 / 434.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.02553, allocations: 31.92 kB / 434.4 MB, free: 8.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.02586, allocations: 100.4 kB / 434.4 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.02829, allocations: 3.214 MB / 437.7 MB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.0284, allocations: 173.1 kB / 437.8 MB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.02857, allocations: 94.69 kB / 437.9 MB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.0287, allocations: 124.4 kB / 438 MB, free: 4.812 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.0287, allocations: 0 / 438 MB, free: 4.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1783/0.207, allocations: 10.97 MB / 449 MB, free: 69.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.362, allocations: 13.77 kB / 449 MB, free: 69.49 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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 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: 9.32870997581631] Failed to read output from testmodel.py, exit status != 0: 7.44545588362962 7.452236464 7.435108003 Calling exit ...