Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 291 kB / 290.2 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 90.11 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 86.98 MB / 0.6795 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4894/0.6294, allocations: 239.7 MB / 0.9136 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.6473, allocations: 13.58 MB / 0.9269 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.6493, allocations: 55.56 kB / 0.9269 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.6521, allocations: 0.8275 MB / 0.9277 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.6567, allocations: 1.69 MB / 0.9294 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.6596, allocations: 1.128 MB / 0.9305 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.665, allocations: 4.604 MB / 0.935 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.6666, allocations: 0.8921 MB / 0.9358 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009371/0.676, allocations: 3.845 MB / 0.9396 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.6778, allocations: 0.9566 MB / 0.9405 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.6781, allocations: 56 kB / 0.9406 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.6802, allocations: 0.9001 MB / 0.9415 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005689/0.6808, allocations: 422.5 kB / 0.9419 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.682, allocations: 0.6644 MB / 0.9425 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.6842, allocations: 1.537 MB / 0.944 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6842, allocations: 0 / 0.944 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6842, allocations: 0 / 0.944 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.489e-05/0.6843, allocations: 0 / 0.944 GB, free: 8.844 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002533/0.6868, allocations: 1.628 MB / 0.9456 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6868, allocations: 8.031 kB / 0.9456 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.687, allocations: 122.7 kB / 0.9457 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006673/0.6877, allocations: 202.2 kB / 0.9459 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.689, allocations: 0.8347 MB / 0.9467 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6892, allocations: 129.4 kB / 0.9469 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.6893, allocations: 84 kB / 0.9469 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6906, allocations: 0.9181 MB / 0.9478 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.6906, allocations: 3.938 kB / 0.9478 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.6907, allocations: 32 kB / 0.9479 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6907, allocations: 24 kB / 0.9479 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.6916, allocations: 0.5071 MB / 0.9484 GB, free: 4.141 MB / 0.6544 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.004621/0.6962, allocations: 4.876 MB / 0.9532 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.6968, allocations: 416.6 kB / 0.9535 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.6972, allocations: 264.6 kB / 0.9538 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.6974, allocations: 105.1 kB / 0.9539 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.6974, allocations: 50.48 kB / 0.9539 GB, free: 13.94 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.6974, allocations: 0 / 0.9539 GB, free: 13.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001793/0.6992, allocations: 0.7782 MB / 0.9547 GB, free: 13.11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.6994, allocations: 401.4 kB / 0.9551 GB, free: 12.62 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.701, allocations: 1.267 MB / 0.9563 GB, free: 11.35 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.7011, allocations: 37.7 kB / 0.9564 GB, free: 11.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.7015, allocations: 0.5613 MB / 0.9569 GB, free: 10.74 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.7016, allocations: 98.5 kB / 0.957 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.7018, allocations: 85.59 kB / 0.9571 GB, free: 10.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7019, allocations: 325.9 kB / 0.9574 GB, free: 10.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.7021, allocations: 99.56 kB / 0.9575 GB, free: 10.13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.7025, allocations: 331.8 kB / 0.9578 GB, free: 9.711 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.703, allocations: 336.5 kB / 0.9581 GB, free: 9.336 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.703, allocations: 0 / 0.9581 GB, free: 9.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008775/0.7039, allocations: 0.4897 MB / 0.9586 GB, free: 8.832 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7039, allocations: 8 kB / 0.9586 GB, free: 8.824 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7039, allocations: 1.406 kB / 0.9586 GB, free: 8.824 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.7042, allocations: 65.67 kB / 0.9587 GB, free: 8.754 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.7044, allocations: 59.91 kB / 0.9587 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.7067, allocations: 2.927 MB / 0.9616 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/0.7075, allocations: 111.2 kB / 0.9617 GB, free: 5.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.7075, allocations: 20 kB / 0.9617 GB, free: 5.367 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.7079, allocations: 282.2 kB / 0.962 GB, free: 5.082 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.7083, allocations: 138.3 kB / 0.9621 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.7085, allocations: 128 kB / 0.9622 GB, free: 4.816 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.7085, allocations: 8 kB / 0.9623 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7085, allocations: 4 kB / 0.9623 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.7085, allocations: 4 kB / 0.9623 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.7116, allocations: 2.52 MB / 0.9647 GB, free: 2.137 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7116, allocations: 4 kB / 0.9647 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.7118, allocations: 48.09 kB / 0.9648 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.712, allocations: 78.3 kB / 0.9648 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.712, allocations: 15.94 kB / 0.9649 GB, free: 1.988 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.7141, allocations: 2.927 MB / 0.9677 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7141, allocations: 4 kB / 0.9677 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.715, allocations: 0.6895 MB / 0.9684 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.7154, allocations: 243.4 kB / 0.9686 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.7155, allocations: 16 kB / 0.9686 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.7162, allocations: 59.86 kB / 0.9687 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.7163, allocations: 39.84 kB / 0.9687 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.7164, allocations: 16 kB / 0.9688 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00108/0.7174, allocations: 0.8802 MB / 0.9696 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7175, allocations: 0 / 0.9696 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001025/0.7185, allocations: 275.7 kB / 0.9699 GB, free: 12.47 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * 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: 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.7199, allocations: 1.322 MB / 0.9712 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008535/0.7207, allocations: 0.5092 MB / 0.9717 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7207, allocations: 4 kB / 0.9717 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.7213, allocations: 407 kB / 0.9721 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.7246, allocations: 0.7577 MB / 0.9728 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.7368, allocations: 9.288 MB / 0.9819 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007234/0.7375, allocations: 1.134 MB / 0.983 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009102/0.7384, allocations: 250.7 kB / 0.9832 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.7389, allocations: 439.2 kB / 0.9836 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of SimCode: time 5.11e-07/0.7389, allocations: 0 / 0.9836 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05265/0.7916, allocations: 33.08 MB / 1.016 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.7918, allocations: 316 kB / 1.016 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.172, allocations: 3.938 kB / 1.016 GB, free: 12.78 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)