Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.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.001258/0.001258, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001365/0.001365, allocations: 166.3 kB / 23.21 MB, free: 1.332 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.9328/0.9328, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7238/0.7238, allocations: 291.2 MB / 0.5382 GB, free: 51.9 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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: translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.714e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate): time 0.001874/0.001901, allocations: 1.83 MB / 0.6992 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006624/0.002563, allocations: 0.546 MB / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.002616, allocations: 0 / 0.6997 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.952e-05/0.002706, allocations: 11.86 kB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.003023, allocations: 71.47 kB / 0.6998 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.003145, allocations: 67.78 kB / 0.6999 GB, free: 7.832 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.003306, allocations: 167.3 kB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.003346, allocations: 9.297 kB / 0.7 GB, free: 7.66 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.003445, allocations: 87.78 kB / 0.7001 GB, free: 7.574 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.003629, allocations: 79.77 kB / 0.7002 GB, free: 7.496 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.003651, allocations: 8 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.003668, allocations: 8 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.003721, allocations: 27.91 kB / 0.7002 GB, free: 7.453 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.00377, allocations: 47.83 kB / 0.7003 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003887, allocations: 99.67 kB / 0.7004 GB, free: 7.309 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003889, allocations: 4 kB / 0.7004 GB, free: 7.305 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00389, allocations: 0 / 0.7004 GB, free: 7.305 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003893, allocations: 0 / 0.7004 GB, free: 7.305 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005118/0.004405, allocations: 391.5 kB / 0.7007 GB, free: 6.887 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.004441, allocations: 12.03 kB / 0.7008 GB, free: 6.875 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.004482, allocations: 16.78 kB / 0.7008 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.004611, allocations: 145 kB / 0.7009 GB, free: 6.695 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.004624, allocations: 4.375 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.004646, allocations: 16.38 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.004807, allocations: 94.17 kB / 0.701 GB, free: 6.578 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.004814, allocations: 3.938 kB / 0.701 GB, free: 6.574 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.004825, allocations: 4 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.00483, allocations: 4 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.004968, allocations: 79.86 kB / 0.7011 GB, free: 6.488 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.005288, allocations: 292.4 kB / 0.7014 GB, free: 6.172 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.005503, allocations: 138.4 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.005581, allocations: 48.81 kB / 0.7016 GB, free: 5.977 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005597, allocations: 4 kB / 0.7016 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.005762, allocations: 123 kB / 0.7017 GB, free: 5.844 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.005764, allocations: 0 / 0.7017 GB, free: 5.844 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003166/0.00608, allocations: 197.9 kB / 0.7019 GB, free: 5.645 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.006103, allocations: 55.41 kB / 0.7019 GB, free: 5.578 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.006188, allocations: 160.9 kB / 0.7021 GB, free: 5.414 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006201, allocations: 29.7 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.00624, allocations: 108.1 kB / 0.7022 GB, free: 5.27 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.006261, allocations: 39.64 kB / 0.7023 GB, free: 5.23 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.006303, allocations: 37.7 kB / 0.7023 GB, free: 5.188 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.006335, allocations: 322.8 kB / 0.7026 GB, free: 4.863 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.006432, allocations: 81.66 kB / 0.7027 GB, free: 4.777 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.00654, allocations: 210 kB / 0.7029 GB, free: 4.535 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.006693, allocations: 140.7 kB / 0.703 GB, free: 4.391 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.006695, allocations: 3.938 kB / 0.703 GB, free: 4.387 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002092/0.006905, allocations: 240.8 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.006925, allocations: 29.7 kB / 0.7033 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00693, allocations: 0 / 0.7033 GB, free: 4.098 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.006942, allocations: 4 kB / 0.7033 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.007031, allocations: 31.92 kB / 0.7033 GB, free: 4.062 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.007037, allocations: 3.984 kB / 0.7033 GB, free: 4.059 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.007112, allocations: 19.92 kB / 0.7033 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.007122, allocations: 4.047 kB / 0.7033 GB, free: 4.035 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 5.643e-05/0.007178, allocations: 130.4 kB / 0.7035 GB, free: 3.898 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.007189, allocations: 11.91 kB / 0.7035 GB, free: 3.887 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.007407, allocations: 170.3 kB / 0.7036 GB, free: 3.719 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.007409, allocations: 8 kB / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007414, allocations: 0 / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.007418, allocations: 3.984 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.553e-05/0.007493, allocations: 149.2 kB / 0.7038 GB, free: 3.531 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.007496, allocations: 3.938 kB / 0.7038 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.007576, allocations: 27.98 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.007581, allocations: 0 / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.00759, allocations: 0 / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.007592, allocations: 3.984 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.007593, allocations: 0 / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.007871, allocations: 255.6 kB / 0.7041 GB, free: 3.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.007887, allocations: 19.84 kB / 0.7041 GB, free: 3.211 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.007905, allocations: 3.984 kB / 0.7041 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.007956, allocations: 11.98 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.008003, allocations: 15.92 kB / 0.7041 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.008011, allocations: 11.92 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.008054, allocations: 123.1 kB / 0.7042 GB, free: 3.047 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008054, allocations: 0 / 0.7042 GB, free: 3.047 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001299/0.008184, allocations: 36.06 kB / 0.7043 GB, free: 3.012 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.977e-05/0.008253, allocations: 103.2 kB / 0.7044 GB, free: 2.898 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.008478, allocations: 215.3 kB / 0.7046 GB, free: 2.672 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.00848, allocations: 4 kB / 0.7046 GB, free: 2.668 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.008567, allocations: 63.77 kB / 0.7046 GB, free: 2.609 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.008745, allocations: 47.83 kB / 0.7047 GB, free: 2.562 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.00917, allocations: 335.2 kB / 0.705 GB, free: 2.203 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.009212, allocations: 101.8 kB / 0.7051 GB, free: 2.086 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.009256, allocations: 16.5 kB / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of SimCode: time 6.01e-07/0.009257, allocations: 0 / 0.7051 GB, free: 2.066 MB / 410.8 MB Notification: Performance of Templates: time 0.002216/0.01147, allocations: 2.051 MB / 0.7071 GB, free: 28 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LeadChromate.LeadChromate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.129934434778988]