Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.000777/0.000777, 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.0007998/0.0007998, 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.8848/0.8848, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7392/0.7392, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.416e-05, allocations: 7.672 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002518/0.002542, allocations: 1.278 MB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.002846, allocations: 103.6 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.002878, allocations: 0 / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.0029, allocations: 3.938 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.701e-05/0.002977, allocations: 8 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.003218, allocations: 39.83 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.003279, allocations: 15.92 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.003326, allocations: 3.984 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.003365, allocations: 7.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.003424, allocations: 8 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.00344, allocations: 0 / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.003581, allocations: 47.94 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.003596, allocations: 4 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.003618, allocations: 7.984 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.003753, allocations: 47.86 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003755, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003756, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00376, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003769/0.004136, allocations: 262.2 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.004184, allocations: 8.031 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.004219, allocations: 30.75 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.004245, allocations: 8.938 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.004354, allocations: 109.8 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.004365, allocations: 384 / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.004374, allocations: 8.312 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.004456, allocations: 34.25 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004465, allocations: 192 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.004473, allocations: 4.375 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.00448, allocations: 4.125 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.004516, allocations: 4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.004669, allocations: 120.8 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.004723, allocations: 22.56 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.004743, allocations: 12.8 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.005128, allocations: 87.98 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.005155, allocations: 38.5 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.005156, allocations: 0 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.00531, allocations: 41.69 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.005347, allocations: 55.34 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.005412, allocations: 101.8 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.005427, allocations: 25.7 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.00547, allocations: 84.27 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.005495, allocations: 7.953 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.005521, allocations: 17.7 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.005595, allocations: 314.8 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.005611, allocations: 3.938 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.005619, allocations: 4 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.005647, allocations: 12.86 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00565, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.899e-05/0.005699, allocations: 41.69 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.005711, allocations: 4.094 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.005715, allocations: 4 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.005726, allocations: 0 / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.005776, allocations: 7.938 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005781, allocations: 3.938 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.005793, allocations: 0 / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005798, allocations: 3.938 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * 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 5.314e-05/0.005851, allocations: 114.8 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-06/0.005855, allocations: 3.953 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.826e-05/0.005934, allocations: 48.95 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005937, allocations: 8.031 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.005943, allocations: 3.938 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005946, allocations: 0 / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.061e-05/0.006016, allocations: 120.8 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006017, allocations: 0 / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.006028, allocations: 4 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00603, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.006036, allocations: 0 / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006038, allocations: 4 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.00604, allocations: 3.938 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.152e-05/0.006092, allocations: 69.06 kB / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.006099, allocations: 4.031 kB / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.006107, allocations: 0 / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.006114, allocations: 0 / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.006129, allocations: 11.94 kB / 0.6214 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.006132, allocations: 3.984 kB / 0.6214 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.006156, allocations: 79.28 kB / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006156, allocations: 3.938 kB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001321/0.006288, allocations: 15.94 kB / 0.6215 GB, free: 9.863 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * 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.0003375/0.006626, allocations: 0.6163 MB / 0.6221 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.006692, allocations: 11.98 kB / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006694, allocations: 0 / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.0067, allocations: 4 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.006879, allocations: 9.969 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.007596, allocations: 1.094 MB / 0.6232 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.043e-05/0.007637, allocations: 59.34 kB / 0.6233 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.007661, allocations: 12.06 kB / 0.6233 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.007688, allocations: 16.5 kB / 0.6233 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.007689, allocations: 0 / 0.6233 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.0224, allocations: 2.109 MB / 0.6254 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.391/6.413, allocations: 4.062 kB / 0.6254 GB, free: 5.941 MB / 0.5886 GB " [Timeout remaining time 654] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.121061815880239] Failed to read output from testmodel.py, exit status != 0: 6.495019089430571 6.50360854 6.49770957 Calling exit ...