Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.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.001018/0.001018, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.00104/0.00104, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9921/0.9921, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7274/0.7274, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.895e-05, allocations: 3.875 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.5445/0.5446, allocations: 193.2 MB / 0.8067 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.5626, allocations: 18.92 MB / 0.8252 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.5642, allocations: 75.09 kB / 0.8253 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.5661, allocations: 1.204 MB / 0.8265 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006526/0.5726, allocations: 4.363 MB / 0.8307 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.5751, allocations: 1.608 MB / 0.8323 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004451/0.5796, allocations: 7.167 MB / 0.8393 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.5809, allocations: 1.815 MB / 0.8411 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.5836, allocations: 3.445 MB / 0.8444 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.5857, allocations: 2.318 MB / 0.8467 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.586, allocations: 340 kB / 0.847 GB, free: 9.066 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/0.5901, allocations: 2.929 MB / 0.8499 GB, free: 6.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.591, allocations: 1.484 MB / 0.8513 GB, free: 4.641 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.5919, allocations: 1.349 MB / 0.8526 GB, free: 3.289 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006033/0.598, allocations: 5.933 MB / 0.8584 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.598, allocations: 4 kB / 0.8584 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/0.598, allocations: 0 / 0.8584 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.498e-05/0.598, allocations: 0 / 0.8584 GB, free: 13.34 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.004914/0.6029, allocations: 3.826 MB / 0.8622 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.603, allocations: 8.031 kB / 0.8622 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/0.6033, allocations: 409.4 kB / 0.8626 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.6056, allocations: 0.8566 MB / 0.8634 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.6077, allocations: 1.783 MB / 0.8651 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.173e-05/0.6078, allocations: 201.4 kB / 0.8653 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.6081, allocations: 272 kB / 0.8656 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.6117, allocations: 3.877 MB / 0.8694 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.6117, allocations: 7.953 kB / 0.8694 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.6119, allocations: 110.8 kB / 0.8695 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.6121, allocations: 181.9 kB / 0.8697 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/0.6168, allocations: 4.945 MB / 0.8745 GB, free: 12.62 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009537/0.6264, allocations: 7.964 MB / 0.8823 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004108/0.6305, allocations: 4.514 MB / 0.8867 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.6327, allocations: 2.286 MB / 0.8889 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/0.6331, allocations: 179 kB / 0.8891 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6332, allocations: 77.7 kB / 0.8892 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=399): time 5.169e-06/0.6332, allocations: 4 kB / 0.8892 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=399): time 0.0063/0.6395, allocations: 5.806 MB / 0.8948 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.6395, allocations: 98.48 kB / 0.8949 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.6407, allocations: 1.306 MB / 0.8962 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.6409, allocations: 93.7 kB / 0.8963 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.6413, allocations: 0.961 MB / 0.8972 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008651/0.6422, allocations: 1.386 MB / 0.8986 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006448/0.6429, allocations: 0.6344 MB / 0.8992 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.6429, allocations: 309.1 kB / 0.8995 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.6448, allocations: 1.745 MB / 0.9012 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.6467, allocations: 2.087 MB / 0.9032 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/0.6508, allocations: 4.078 MB / 0.9072 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.6509, allocations: 0 / 0.9072 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.004744/0.6556, allocations: 4.594 MB / 0.9117 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6556, allocations: 8 kB / 0.9117 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6556, allocations: 416 / 0.9117 GB, free: 6.195 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.6557, allocations: 27.98 kB / 0.9117 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.6575, allocations: 0.7763 MB / 0.9125 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.6576, allocations: 27.88 kB / 0.9125 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6588, allocations: 309.5 kB / 0.9128 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.659, allocations: 128 kB / 0.913 GB, free: 4.934 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (493): * Single equations (assignments): 493 * 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.000968/0.66, allocations: 0.74 MB / 0.9137 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.6602, allocations: 258.4 kB / 0.9139 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/0.665, allocations: 4.627 MB / 0.9184 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.665, allocations: 40 kB / 0.9185 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.665, allocations: 0 / 0.9185 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/0.6689, allocations: 3.965 MB / 0.9223 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009882/0.6788, allocations: 7.669 MB / 0.9298 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.6788, allocations: 0 / 0.9298 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.6805, allocations: 0.6592 MB / 0.9305 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.6809, allocations: 134.5 kB / 0.9306 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.681, allocations: 87.97 kB / 0.9307 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.6836, allocations: 4.713 MB / 0.9353 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6836, allocations: 0 / 0.9353 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/0.6906, allocations: 6.826 MB / 0.942 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.6919, allocations: 0.7043 MB / 0.9427 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.6921, allocations: 72.03 kB / 0.9427 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.693, allocations: 90.2 kB / 0.9428 GB, free: 5.754 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.6933, allocations: 234.7 kB / 0.943 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.6934, allocations: 112 kB / 0.9431 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008252/0.6942, allocations: 0.8606 MB / 0.944 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.6942, allocations: 0 / 0.944 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001714/0.696, allocations: 1.124 MB / 0.9451 GB, free: 3.426 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007389/0.7034, allocations: 7.627 MB / 0.9525 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004845/0.7082, allocations: 4.019 MB / 0.9564 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7082, allocations: 4.25 kB / 0.9565 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.711, allocations: 2.368 MB / 0.9588 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/0.7144, allocations: 1.082 MB / 0.9598 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/0.7404, allocations: 23.39 MB / 0.9827 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.7415, allocations: 1.37 MB / 0.984 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00247/0.7439, allocations: 1.302 MB / 0.9853 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.7451, allocations: 1.094 MB / 0.9863 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of SimCode: time 1.382e-06/0.7451, allocations: 4 kB / 0.9863 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3539/1.099, allocations: 71.79 MB / 1.056 GB, free: 276.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.335/10.43, allocations: 7.359 kB / 1.056 GB, free: 276.4 MB / 0.8386 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.522352050058544] Failed to read output from testmodel.py, exit status != 0: 10.558906022459269 10.568598898 9.968450265 Calling exit ...