Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",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.004893/0.004893, allocations: 103.3 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 188.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7963/0.7963, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.36 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 80.92 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.5388/0.6786, allocations: 192.6 MB / 0.8523 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006678/0.6853, allocations: 4.009 MB / 0.8562 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.6866, allocations: 22.72 kB / 0.8562 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.6883, allocations: 475.8 kB / 0.8567 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.6926, allocations: 1.531 MB / 0.8581 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.6963, allocations: 1.359 MB / 0.8595 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002961/0.6993, allocations: 1.637 MB / 0.8611 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.7009, allocations: 0.9551 MB / 0.862 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.7029, allocations: 0.9251 MB / 0.8629 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.7046, allocations: 0.8509 MB / 0.8637 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004111/0.705, allocations: 92 kB / 0.8638 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.708, allocations: 1.313 MB / 0.8651 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.7085, allocations: 347 kB / 0.8654 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008151/0.7094, allocations: 0.5172 MB / 0.8659 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.7124, allocations: 1.64 MB / 0.8676 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7124, allocations: 0 / 0.8676 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7124, allocations: 0 / 0.8676 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.201e-05/0.7125, allocations: 0 / 0.8676 GB, free: 15.19 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003815/0.7163, allocations: 1.445 MB / 0.869 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.7163, allocations: 9.109 kB / 0.869 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.7165, allocations: 98.45 kB / 0.8691 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.7183, allocations: 234.8 kB / 0.8693 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.7196, allocations: 0.6109 MB / 0.8699 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.7196, allocations: 40.94 kB / 0.8699 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.7198, allocations: 48 kB / 0.87 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7215, allocations: 0.9744 MB / 0.8709 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.7216, allocations: 3.938 kB / 0.8709 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.7217, allocations: 24 kB / 0.8709 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.7217, allocations: 27.94 kB / 0.871 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.7235, allocations: 0.9368 MB / 0.8719 GB, free: 10.58 MB / 0.6387 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.006358/0.7298, allocations: 4.258 MB / 0.876 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.7309, allocations: 0.5861 MB / 0.8766 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.7317, allocations: 0.5298 MB / 0.8771 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.7327, allocations: 0.8705 MB / 0.878 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.7328, allocations: 43 kB / 0.878 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00156/0.7344, allocations: 415.1 kB / 0.8784 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 5.24e-06/0.7344, allocations: 0 / 0.8784 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01885/0.7532, allocations: 3.845 MB / 0.8822 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.7533, allocations: 55.84 kB / 0.8822 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.7545, allocations: 0.7078 MB / 0.8829 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.7547, allocations: 41.64 kB / 0.883 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.7549, allocations: 320.6 kB / 0.8833 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.7552, allocations: 177.4 kB / 0.8834 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.7555, allocations: 150 kB / 0.8836 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7557, allocations: 330 kB / 0.8839 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007309/0.7564, allocations: 400.9 kB / 0.8843 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.7573, allocations: 477.5 kB / 0.8847 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.7589, allocations: 0.9258 MB / 0.8856 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.7589, allocations: 0 / 0.8856 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01209/0.771, allocations: 2.556 MB / 0.8881 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.7711, allocations: 8 kB / 0.8881 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.7711, allocations: 0 / 0.8881 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.7812, allocations: 1.734 MB / 0.8898 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.7817, allocations: 98.75 kB / 0.8899 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.7952, allocations: 7.132 MB / 0.8969 GB, free: 124 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.7961, allocations: 27.98 kB / 0.8969 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.7963, allocations: 39.94 kB / 0.897 GB, free: 56 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000504/0.7968, allocations: 217.6 kB / 0.8972 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.7971, allocations: 79.06 kB / 0.8972 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/0.8023, allocations: 1.739 MB / 0.8989 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8023, allocations: 4 kB / 0.8989 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.8024, allocations: 8 kB / 0.899 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.8024, allocations: 3.984 kB / 0.899 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.809, allocations: 2.537 MB / 0.9014 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.809, allocations: 12.12 kB / 0.9014 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.8095, allocations: 95.81 kB / 0.9015 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/0.8129, allocations: 0.7938 MB / 0.9023 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.813, allocations: 19.94 kB / 0.9023 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/0.8199, allocations: 4.86 MB / 0.9071 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8199, allocations: 4 kB / 0.9071 GB, free: 5.301 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.8253, allocations: 2.151 MB / 0.9092 GB, free: 3.105 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.8258, allocations: 224.1 kB / 0.9094 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.826, allocations: 15.98 kB / 0.9094 GB, free: 2.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.8266, allocations: 23.98 kB / 0.9094 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.8268, allocations: 60.44 kB / 0.9095 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.8268, allocations: 20 kB / 0.9095 GB, free: 2.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006696/0.8275, allocations: 0.5029 MB / 0.91 GB, free: 2.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8275, allocations: 0 / 0.91 GB, free: 2.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001032/0.8286, allocations: 287.7 kB / 0.9103 GB, free: 1.969 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005874/0.8345, allocations: 2.786 MB / 0.913 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.8381, allocations: 1.476 MB / 0.9144 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8381, allocations: 4 kB / 0.9144 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.84, allocations: 0.9111 MB / 0.9153 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.8422, allocations: 452.9 kB / 0.9158 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/0.8736, allocations: 10.45 MB / 0.926 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.8743, allocations: 0.9789 MB / 0.9269 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006984/0.875, allocations: 166.6 kB / 0.9271 GB, free: 456 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.8755, allocations: 279.3 kB / 0.9273 GB, free: 176 kB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/0.8755, allocations: 0 / 0.9273 GB, free: 176 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06464/0.9402, allocations: 30.38 MB / 0.957 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.22, allocations: 6.75 kB / 0.957 GB, free: 2.09 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)