Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.444/2.444, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.721/1.721, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 60.09 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2607, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.005574/0.2663, allocations: 1.632 MB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.2697, allocations: 1.171 MB / 0.5872 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.2699, allocations: 4 kB / 0.5872 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.2703, allocations: 23.86 kB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.2708, allocations: 71.62 kB / 0.5873 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.2716, allocations: 138 kB / 0.5874 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.2721, allocations: 241.5 kB / 0.5877 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2722, allocations: 24.17 kB / 0.5877 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2725, allocations: 79.88 kB / 0.5878 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.2728, allocations: 95.64 kB / 0.5879 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.2729, allocations: 20 kB / 0.5879 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.2732, allocations: 75.97 kB / 0.588 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2734, allocations: 87.8 kB / 0.588 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.2736, allocations: 103.4 kB / 0.5881 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.2742, allocations: 287.3 kB / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2742, allocations: 0 / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2742, allocations: 4 kB / 0.5884 GB, free: 424 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2742, allocations: 0 / 0.5884 GB, free: 424 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001291/0.2755, allocations: 0.5383 MB / 0.5889 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.2756, allocations: 8.031 kB / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.2757, allocations: 46.75 kB / 0.589 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.2759, allocations: 28.64 kB / 0.589 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.2764, allocations: 260.9 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.2764, allocations: 12.38 kB / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.2765, allocations: 12.38 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.2772, allocations: 220.7 kB / 0.5895 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2772, allocations: 0 / 0.5895 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.2773, allocations: 4 kB / 0.5895 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2773, allocations: 4 kB / 0.5895 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.279, allocations: 0.7411 MB / 0.5902 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.2807, allocations: 0.5743 MB / 0.5908 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.2815, allocations: 229.3 kB / 0.591 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.2818, allocations: 100.8 kB / 0.5911 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.2819, allocations: 23.91 kB / 0.5911 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006112/0.2825, allocations: 169.5 kB / 0.5913 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.586e-06/0.2826, allocations: 0 / 0.5913 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001333/0.2839, allocations: 368.2 kB / 0.5916 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.2841, allocations: 132.5 kB / 0.5918 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.2846, allocations: 305 kB / 0.5921 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.2847, allocations: 33.7 kB / 0.5921 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2849, allocations: 124.6 kB / 0.5922 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.2851, allocations: 110.5 kB / 0.5923 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.2852, allocations: 69.67 kB / 0.5924 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2854, allocations: 338.8 kB / 0.5927 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.2857, allocations: 75.95 kB / 0.5928 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.2861, allocations: 127.6 kB / 0.5929 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.2867, allocations: 200.7 kB / 0.5931 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2867, allocations: 3.938 kB / 0.5931 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008502/0.2876, allocations: 277.8 kB / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.2876, allocations: 8 kB / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2877, allocations: 3.938 kB / 0.5934 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2877, allocations: 4 kB / 0.5934 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.2881, allocations: 51.97 kB / 0.5934 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.2881, allocations: 4 kB / 0.5934 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.2884, allocations: 35.7 kB / 0.5935 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.2885, allocations: 8 kB / 0.5935 GB, free: 10.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002774/0.2888, allocations: 161.8 kB / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.2889, allocations: 35.66 kB / 0.5937 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2903, allocations: 376.7 kB / 0.594 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2903, allocations: 4 kB / 0.594 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2903, allocations: 0 / 0.594 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.2903, allocations: 11.86 kB / 0.594 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.2909, allocations: 325.3 kB / 0.5943 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.291, allocations: 0 / 0.5943 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.2913, allocations: 55.91 kB / 0.5944 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2914, allocations: 4 kB / 0.5944 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.2914, allocations: 15.98 kB / 0.5944 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.2914, allocations: 0 / 0.5944 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2914, allocations: 0 / 0.5944 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/0.2924, allocations: 318.2 kB / 0.5947 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.2927, allocations: 140.7 kB / 0.5949 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.2928, allocations: 7.984 kB / 0.5949 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.2931, allocations: 23.98 kB / 0.5949 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2932, allocations: 19.97 kB / 0.5949 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.2933, allocations: 23.88 kB / 0.5949 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004016/0.2937, allocations: 236.4 kB / 0.5952 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2937, allocations: 0 / 0.5952 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005894/0.2943, allocations: 59.91 kB / 0.5952 GB, free: 9.055 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002994/0.2974, allocations: 1.144 MB / 0.5963 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.2984, allocations: 292.3 kB / 0.5966 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2984, allocations: 4 kB / 0.5966 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.2988, allocations: 128.4 kB / 0.5967 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.2994, allocations: 38.47 kB / 0.5968 GB, free: 7.598 MB / 0.4981 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.3047, allocations: 2.422 MB / 0.5991 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.3052, allocations: 0.7542 MB / 0.5999 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005903/0.3058, allocations: 150.8 kB / 0.6 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.3061, allocations: 91.39 kB / 0.6001 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.3061, allocations: 0 / 0.6001 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.487/6.793, allocations: 5.428 MB / 0.6054 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.62/25.42, allocations: 9.25 kB / 0.6054 GB, free: 51.84 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)