Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008198/0.0008198, 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.0008094/0.0008094, allocations: 169.9 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.9345/0.9345, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7381/0.7381, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.024e-05, allocations: 6.5 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4176/0.4176, allocations: 153.4 MB / 0.7679 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.4207, allocations: 2.175 MB / 0.77 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.4212, allocations: 25.03 kB / 0.77 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.4218, allocations: 235.7 kB / 0.7703 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.4237, allocations: 0.9635 MB / 0.7712 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.4256, allocations: 0.8998 MB / 0.7721 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.4269, allocations: 0.9728 MB / 0.773 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.4274, allocations: 277.8 kB / 0.7733 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.4286, allocations: 0.732 MB / 0.774 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.429, allocations: 276.9 kB / 0.7743 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.4291, allocations: 32.31 kB / 0.7743 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4306, allocations: 0.8288 MB / 0.7751 GB, free: 392 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.4308, allocations: 161.8 kB / 0.7753 GB, free: 312 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.4309, allocations: 162.2 kB / 0.7754 GB, free: 252 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.4323, allocations: 0.9194 MB / 0.7763 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4323, allocations: 0 / 0.7763 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4323, allocations: 0 / 0.7763 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.4323, allocations: 0 / 0.7763 GB, free: 15.94 MB / 0.6511 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.001178/0.4335, allocations: 0.7459 MB / 0.7771 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4335, allocations: 9.375 kB / 0.7771 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.724e-05/0.4336, allocations: 68.42 kB / 0.7771 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007602/0.4343, allocations: 181.1 kB / 0.7773 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.435, allocations: 338.6 kB / 0.7776 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.435, allocations: 22.38 kB / 0.7776 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.435, allocations: 28.25 kB / 0.7777 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.4356, allocations: 418.3 kB / 0.7781 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.4356, allocations: 9.938 kB / 0.7781 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.4357, allocations: 11.38 kB / 0.7781 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.4357, allocations: 13.64 kB / 0.7781 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.4361, allocations: 257.8 kB / 0.7784 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.438, allocations: 1.321 MB / 0.7796 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.4384, allocations: 190.6 kB / 0.7798 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4386, allocations: 113.2 kB / 0.7799 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/0.4392, allocations: 129.7 kB / 0.7801 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4392, allocations: 40.27 kB / 0.7801 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.775e-06/0.4392, allocations: 0 / 0.7801 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0007239/0.4399, allocations: 355.9 kB / 0.7804 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.44, allocations: 56.09 kB / 0.7805 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.4404, allocations: 421.4 kB / 0.7809 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.4404, allocations: 31.17 kB / 0.7809 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4406, allocations: 220.7 kB / 0.7811 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.4406, allocations: 82.19 kB / 0.7812 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.4407, allocations: 45.86 kB / 0.7813 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4408, allocations: 358.5 kB / 0.7816 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4409, allocations: 75.58 kB / 0.7817 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.4411, allocations: 179.2 kB / 0.7818 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.4414, allocations: 214 kB / 0.782 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.4414, allocations: 0 / 0.782 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004701/0.4419, allocations: 290.7 kB / 0.7823 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.4419, allocations: 5 kB / 0.7823 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4419, allocations: 1 kB / 0.7823 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.4419, allocations: 1.812 kB / 0.7823 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4421, allocations: 52.92 kB / 0.7824 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4421, allocations: 2.312 kB / 0.7824 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4423, allocations: 36.03 kB / 0.7824 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.4424, allocations: 11.91 kB / 0.7824 GB, free: 12.08 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.0001774/0.4426, allocations: 172.3 kB / 0.7826 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.4426, allocations: 40.17 kB / 0.7826 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.4431, allocations: 284.9 kB / 0.7829 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.4431, allocations: 2.062 kB / 0.7829 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4431, allocations: 96 / 0.7829 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4431, allocations: 8.781 kB / 0.7829 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4441, allocations: 0.7413 MB / 0.7836 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4441, allocations: 3.844 kB / 0.7836 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.4443, allocations: 49.36 kB / 0.7837 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.4443, allocations: 2.656 kB / 0.7837 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.4443, allocations: 10.62 kB / 0.7837 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4443, allocations: 6.562 kB / 0.7837 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4443, allocations: 6.406 kB / 0.7837 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.4449, allocations: 0.5087 MB / 0.7842 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.445, allocations: 71.69 kB / 0.7843 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.4451, allocations: 8.156 kB / 0.7843 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.4452, allocations: 15 kB / 0.7843 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.4453, allocations: 22.86 kB / 0.7843 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.4453, allocations: 9.203 kB / 0.7843 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002759/0.4456, allocations: 307.8 kB / 0.7846 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.4456, allocations: 4 kB / 0.7846 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004912/0.4461, allocations: 117 kB / 0.7847 GB, free: 10.75 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.001295/0.4473, allocations: 1.107 MB / 0.7858 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.4478, allocations: 199.1 kB / 0.786 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4478, allocations: 2.25 kB / 0.786 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.4479, allocations: 107.3 kB / 0.7861 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.4487, allocations: 232.7 kB / 0.7863 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.4532, allocations: 3.623 MB / 0.7899 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.4533, allocations: 221.9 kB / 0.7901 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.4536, allocations: 86.81 kB / 0.7902 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4538, allocations: 141.1 kB / 0.7903 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.4538, allocations: 0 / 0.7903 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.4846, allocations: 13.63 MB / 0.8036 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/7.26, allocations: 9.234 kB / 0.8036 GB, free: 2.102 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.016521498560905] Failed to read output from testmodel.py, exit status != 0: 7.344082876108587 7.35179616 6.917793477 Calling exit ...