Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg.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.0002361/0.0002361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003946/0.0006307, 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.0002916/0.0002916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003776/0.0006691, 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.1028/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0372/0.14, 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.335/0.335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01469/0.3496, 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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N02A_Opioids_N02AB03_Fentanyl_Fentanyl_Lemmens1994_PD_eeg",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N02A_Opioids_N02AB03_Fentanyl_Fentanyl_Lemmens1994_PD_eeg",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.21e-07/7.21e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 9.238e-06/9.959e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg): time 0.0007935/0.0008034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 3.736e-05/0.0008408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.034e-05/0.0008511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 3.747e-06/0.0008549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.436e-05/0.0008692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 1.695e-05/0.0008862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.31e-05/0.0009293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 1.999e-05/0.0009493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.0009889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.639e-05/0.001015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.001027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.675e-06/0.001035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.001047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.001059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.824e-05/0.001088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.0011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.222e-06/0.001101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.668e-06/0.001111, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003463/0.001457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.001517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.001546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.001586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.001658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.001672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.001691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/0.001767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.001774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.001781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-06/0.001783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.001818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.554e-05/0.001914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.002068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.002086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.677e-06/0.00209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.002107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.00211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=4): time 8.403e-05/0.002194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.002212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.459e-05/0.002236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.002245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 7.995e-06/0.002253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.002276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.002298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.171e-05/0.00231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.002318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.002325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.002348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=4) (initialization): time 4.131e-05/0.002391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.002403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.002406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.002418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.00245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.002478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.002496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.002501, allocations: 0 / 0, free: 0 / 0 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 (4): * Single equations (assignments): 4 * 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 3.299e-05/0.002534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.002541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.002564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.002566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.002571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.002574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.623e-05/0.00263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.002631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.002654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.002667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.00267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.002687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.002689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.00269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 6.104e-05/0.002752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.002782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.002795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.002809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.002813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 9.748e-06/0.002822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.262e-06/0.002824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002754/0.003099, allocations: 0 / 0, free: 0 / 0 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 (4): * Single equations (assignments): 4 * 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 8.912e-05/0.003188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 7.569e-05/0.003264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.003271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.176e-05/0.003283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.638e-05/0.003359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.003682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.28e-05/0.003704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.454e-05/0.003719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.003762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.102e-05/0.003793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0002126/0.004005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.0007658/0.004771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01262/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 8.806e-06/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 8.566e-06/0.01741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001633/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 1.738e-05, simCode 4.25e-05, templates 0.0001309 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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,startTime=0,stopTime=98,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=98 -tolerance=1e-06 -stepSize=0.196 -noemit -s fmi3:me",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N02A_Opioids_N02AB03_Fentanyl_Fentanyl_Lemmens1994_PD_eeg.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.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg,startTime=0,stopTime=98,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_Lemmens1994_PD_eeg",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=98 -tolerance=1e-06 -stepSize=0.196 -noemit -s fmi3:cs",resimulateExecutable="../Pharmacolibrary_Pharmacolibrary_Drugs_N_NervousSystem_N02A_Opioids_N02AB03_Fentanyl_Fentanyl_Lemmens1994_PD_eeg.fmu") [Timeout 240] "" [Timeout remaining time 240] cd("..") [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 0.8387895366176963]