Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.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.001199/0.001199, 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.001287/0.001287, 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 1.059/1.059, allocations: 177.1 MB / 203.5 MB, free: 5.371 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.7266/0.7266, allocations: 291.2 MB / 0.5382 GB, free: 51.6 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.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.665e-05/3.875e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1): time 0.002105/0.002144, allocations: 0.5931 MB / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.029e-05/0.002204, allocations: 0 / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.002239, allocations: 0 / 0.6979 GB, free: 9.844 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.002259, allocations: 7.875 kB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.002299, allocations: 3.938 kB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.77e-05/0.002367, allocations: 11.98 kB / 0.6979 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.5e-05/0.002442, allocations: 7.984 kB / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.665e-05/0.002508, allocations: 4 kB / 0.6979 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.002554, allocations: 11.94 kB / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.002616, allocations: 7.984 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.002643, allocations: 0 / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.002649, allocations: 4 kB / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.002666, allocations: 0 / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.002693, allocations: 7.969 kB / 0.698 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.302e-05/0.002766, allocations: 15.92 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.002769, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.002771, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.002777, allocations: 0 / 0.698 GB, free: 9.762 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003911/0.003168, allocations: 258.3 kB / 0.6982 GB, free: 9.477 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.003218, allocations: 8.031 kB / 0.6982 GB, free: 9.469 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.003258, allocations: 4.938 kB / 0.6982 GB, free: 9.465 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.003338, allocations: 109.7 kB / 0.6983 GB, free: 9.332 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.003353, allocations: 384 / 0.6983 GB, free: 9.332 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.003364, allocations: 4.375 kB / 0.6983 GB, free: 9.328 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.00347, allocations: 42.23 kB / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.003479, allocations: 192 / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.003492, allocations: 384 / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.003499, allocations: 384 / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.003551, allocations: 11.94 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.003685, allocations: 117.3 kB / 0.6985 GB, free: 9.125 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.004054, allocations: 50.56 kB / 0.6985 GB, free: 9.066 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.004091, allocations: 12.94 kB / 0.6986 GB, free: 9.051 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.004105, allocations: 0 / 0.6986 GB, free: 9.051 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.004123, allocations: 34.56 kB / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.004124, allocations: 0 / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001734/0.004298, allocations: 49.69 kB / 0.6986 GB, free: 8.953 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.004326, allocations: 51.41 kB / 0.6987 GB, free: 8.891 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.004385, allocations: 105.7 kB / 0.6988 GB, free: 8.777 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-06/0.004393, allocations: 25.7 kB / 0.6988 GB, free: 8.746 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.004412, allocations: 92.12 kB / 0.6989 GB, free: 8.652 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.004441, allocations: 3.953 kB / 0.6989 GB, free: 8.648 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.004472, allocations: 17.72 kB / 0.6989 GB, free: 8.625 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.004522, allocations: 310.8 kB / 0.6992 GB, free: 8.312 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.004542, allocations: 8 kB / 0.6992 GB, free: 8.305 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.004558, allocations: 7.984 kB / 0.6992 GB, free: 8.297 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.004598, allocations: 20.8 kB / 0.6993 GB, free: 8.273 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.004601, allocations: 3.938 kB / 0.6993 GB, free: 8.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.848e-05/0.004679, allocations: 49.64 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.004696, allocations: 4 kB / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.004702, allocations: 4 kB / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.004717, allocations: 3.938 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.004772, allocations: 4 kB / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.004779, allocations: 0 / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.004796, allocations: 7.938 kB / 0.6993 GB, free: 8.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.004803, allocations: 0 / 0.6993 GB, free: 8.191 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.711e-05/0.00486, allocations: 105.8 kB / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.004869, allocations: 4 kB / 0.6994 GB, free: 8.074 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.004894, allocations: 7.688 kB / 0.6994 GB, free: 8.066 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.004897, allocations: 0 / 0.6994 GB, free: 8.066 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.004904, allocations: 7.984 kB / 0.6994 GB, free: 8.059 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.004909, allocations: 4.266 kB / 0.6995 GB, free: 8.055 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.918e-05/0.004978, allocations: 109.3 kB / 0.6996 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.00498, allocations: 0 / 0.6996 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.005011, allocations: 4 kB / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.005014, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.005022, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005024, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.005027, allocations: 8.219 kB / 0.6996 GB, free: 7.906 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.421e-05/0.005111, allocations: 72.97 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.00512, allocations: 7.984 kB / 0.6996 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.005135, allocations: 12 kB / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.005148, allocations: 0 / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.005164, allocations: 0 / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005167, allocations: 4 kB / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.005188, allocations: 79.28 kB / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.005188, allocations: 0 / 0.6997 GB, free: 7.715 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001825/0.005371, allocations: 7.938 kB / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001073/0.005478, allocations: 107.2 kB / 0.6998 GB, free: 7.594 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.578e-05/0.005574, allocations: 8 kB / 0.6999 GB, free: 7.586 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.005577, allocations: 0 / 0.6999 GB, free: 7.586 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.00559, allocations: 19.92 kB / 0.6999 GB, free: 7.566 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.005761, allocations: 5.875 kB / 0.6999 GB, free: 7.562 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.00603, allocations: 141 kB / 0.7 GB, free: 7.395 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.006069, allocations: 59.34 kB / 0.7001 GB, free: 7.316 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.006098, allocations: 12.5 kB / 0.7001 GB, free: 7.305 MB / 410.8 MB Notification: Performance of SimCode: time 5.91e-07/0.006099, allocations: 0 / 0.7001 GB, free: 7.305 MB / 410.8 MB Notification: Performance of Templates: time 0.001826/0.007924, allocations: 0.5004 MB / 0.7006 GB, free: 6.809 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.286025904119015]