Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.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.001081/0.001081, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001259/0.001259, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8434/0.8434, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7066/0.7066, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.595e-05, allocations: 5.094 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.3739/0.3739, allocations: 153.4 MB / 0.7678 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3765, allocations: 2.308 MB / 0.7701 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.3767, allocations: 20.72 kB / 0.7701 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.3772, allocations: 231.6 kB / 0.7703 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.3786, allocations: 1.001 MB / 0.7713 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3799, allocations: 0.9019 MB / 0.7722 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.3807, allocations: 0.9836 MB / 0.7732 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.381, allocations: 272.4 kB / 0.7734 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.3818, allocations: 0.7417 MB / 0.7741 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.382, allocations: 280.5 kB / 0.7744 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.3821, allocations: 34.25 kB / 0.7744 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009028/0.383, allocations: 0.8686 MB / 0.7753 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3831, allocations: 162 kB / 0.7754 GB, free: 440 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3832, allocations: 170.5 kB / 0.7756 GB, free: 372 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009094/0.3841, allocations: 0.9637 MB / 0.7765 GB, free: 40 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3841, allocations: 1.188 kB / 0.7765 GB, free: 40 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3841, allocations: 3.938 kB / 0.7765 GB, free: 36 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.3842, allocations: 0 / 0.7765 GB, free: 36 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008424/0.385, allocations: 0.7463 MB / 0.7773 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.385, allocations: 12.02 kB / 0.7773 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.3851, allocations: 68.31 kB / 0.7774 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/0.3859, allocations: 227.8 kB / 0.7776 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.3863, allocations: 341.3 kB / 0.7779 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3864, allocations: 20.47 kB / 0.7779 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.3864, allocations: 37.25 kB / 0.778 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.3869, allocations: 448 kB / 0.7784 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3869, allocations: 10.83 kB / 0.7784 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.3869, allocations: 15.47 kB / 0.7784 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.3869, allocations: 9.406 kB / 0.7784 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.3874, allocations: 306.4 kB / 0.7787 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3885, allocations: 1.364 MB / 0.78 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.3889, allocations: 267.9 kB / 0.7803 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.3891, allocations: 136.6 kB / 0.7804 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.3893, allocations: 75.5 kB / 0.7805 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3894, allocations: 43.28 kB / 0.7805 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 1.132e-06/0.3894, allocations: 1.406 kB / 0.7805 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0006858/0.3901, allocations: 433.5 kB / 0.781 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3901, allocations: 53.47 kB / 0.781 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.3904, allocations: 421.9 kB / 0.7814 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3904, allocations: 35.14 kB / 0.7814 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3905, allocations: 219.1 kB / 0.7816 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.3906, allocations: 86.92 kB / 0.7817 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.3906, allocations: 52.25 kB / 0.7818 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.3907, allocations: 347.8 kB / 0.7821 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.3909, allocations: 101.3 kB / 0.7822 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3911, allocations: 208 kB / 0.7824 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3914, allocations: 268.3 kB / 0.7827 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3914, allocations: 0 / 0.7827 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004265/0.3919, allocations: 339.2 kB / 0.783 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3919, allocations: 6.844 kB / 0.783 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3919, allocations: 1.469 kB / 0.783 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3919, allocations: 2.781 kB / 0.783 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3921, allocations: 62.66 kB / 0.7831 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3921, allocations: 2.438 kB / 0.7831 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3922, allocations: 39.72 kB / 0.7831 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.3922, allocations: 8.344 kB / 0.7831 GB, free: 12.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001224/0.3923, allocations: 176.5 kB / 0.7833 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.3924, allocations: 44.56 kB / 0.7833 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.3929, allocations: 332.8 kB / 0.7836 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3929, allocations: 2.906 kB / 0.7836 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3929, allocations: 0 / 0.7836 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3929, allocations: 3.297 kB / 0.7836 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.3938, allocations: 0.8122 MB / 0.7844 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3938, allocations: 1.312 kB / 0.7844 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.394, allocations: 57.39 kB / 0.7845 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.394, allocations: 6.281 kB / 0.7845 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.394, allocations: 10.28 kB / 0.7845 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.394, allocations: 8.953 kB / 0.7845 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.394, allocations: 5.125 kB / 0.7845 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.3948, allocations: 0.5886 MB / 0.7851 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3949, allocations: 74.25 kB / 0.7852 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.395, allocations: 10.12 kB / 0.7852 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3951, allocations: 20.05 kB / 0.7852 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3952, allocations: 19.97 kB / 0.7852 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3952, allocations: 11.28 kB / 0.7852 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002177/0.3954, allocations: 302.6 kB / 0.7855 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 0.7855 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002939/0.3957, allocations: 113 kB / 0.7856 GB, free: 10.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0009426/0.3966, allocations: 1.187 MB / 0.7868 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.397, allocations: 259 kB / 0.787 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.397, allocations: 0 / 0.787 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.3972, allocations: 138.7 kB / 0.7872 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.3979, allocations: 228.2 kB / 0.7874 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.4013, allocations: 3.811 MB / 0.7911 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4014, allocations: 225 kB / 0.7913 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.4016, allocations: 86.33 kB / 0.7914 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.4018, allocations: 142.9 kB / 0.7915 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/0.4018, allocations: 0 / 0.7915 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.4256, allocations: 14.14 MB / 0.8053 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/7.144, allocations: 10.86 kB / 0.8053 GB, free: 1.277 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.691021054983139] Failed to read output from testmodel.py, exit status != 0: 7.23064183536917 7.241246489 6.855483976 Calling exit ...