Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002324/0.0002324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003833/0.0006157, allocations: 0 / 0, free: 0 / 0 " [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.0003637/0.0003637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004711/0.0008349, allocations: 0 / 0, free: 0 / 0 " [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.1297/0.1297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0381/0.1678, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.3765/0.3765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01446/0.391, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: "" <> buildModelFMU(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N01A_AnestheticsGeneral_N01AH03_Sufentanil_Sufentanil_Hahn2019_final",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N01A_AnestheticsGeneral_N01AH03_Sufentanil_Sufentanil_Hahn2019_final",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.11e-07/8.11e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/9.868e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final): time 0.003812/0.003822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008425/0.01225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.01235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.01247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000307/0.01278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.01293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002785/0.01321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.01334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.01369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.01388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.01392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.01397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.01401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.01412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.01437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.481e-05/0.01441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.213e-06/0.01441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.436e-06/0.01442, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007235/0.01514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.0152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.01528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.01537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.0156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.01564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.01568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.01598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.01603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.01603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.01619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.01691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.01714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.01721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.01722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.01743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=35): time 3.557e-06/0.01744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=37): time 0.001082/0.01852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.01857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.01871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.01874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.0188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.01889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.01898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.61e-05/0.01901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.01909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.01939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.0194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003126/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.01975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.02006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.02007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.02022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.02025, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0001621/0.02041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.02046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.02051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.02052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.02052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.02113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.02136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.02142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.02146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.02147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.02186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.02198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.02213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.02221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.02223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 7.422e-05/0.02231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.392e-06/0.02232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005103/0.02283, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition3,peripheral.Cmax,$whenCondition2,peripheral.rising,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002856/0.02311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003243/0.02344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.02345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.02359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.0241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.03101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.594e-05/0.03108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001096/0.03119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.03153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.54e-05/0.03159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.002389/0.03398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002332/0.03631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04237/0.07868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.903e-06/0.07869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.152e-05/0.0787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0001666/0.07887, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 0.0001458, simCode 0.001154, templates 0.001503 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] cd("run_me") [Timeout 660] "" [Timeout remaining time 660] simulate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final,startTime=0,stopTime=86400,tolerance=1e-09,numberOfIntervals=86400,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=86400 -tolerance=1e-09 -stepSize=1 -noemit -s fmi3:me",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N01A_AnestheticsGeneral_N01AH03_Sufentanil_Sufentanil_Hahn2019_final.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] cd("run_cs") [Timeout 660] "" [Timeout remaining time 660] simulate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final,startTime=0,stopTime=86400,tolerance=1e-09,numberOfIntervals=86400,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Hahn2019_final",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=86400 -tolerance=1e-09 -stepSize=1 -noemit -s fmi3:cs",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N01A_AnestheticsGeneral_N01AH03_Sufentanil_Sufentanil_Hahn2019_final.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.515129434876144]