Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.001229/0.001229, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001237/0.001237, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 70.58 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2301, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5755/0.8056, allocations: 159.1 MB / 0.9384 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.8073, allocations: 0.939 MB / 0.9393 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.8075, allocations: 9 kB / 0.9393 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.8081, allocations: 140.8 kB / 0.9394 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.8096, allocations: 0.5888 MB / 0.94 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.8101, allocations: 201.2 kB / 0.9402 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.8107, allocations: 0.5047 MB / 0.9407 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.811, allocations: 171.4 kB / 0.9408 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.8114, allocations: 231.4 kB / 0.9411 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.8116, allocations: 176.8 kB / 0.9412 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.8117, allocations: 13.66 kB / 0.9413 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.8125, allocations: 0.5646 MB / 0.9418 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.8127, allocations: 86.39 kB / 0.9419 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.8128, allocations: 110.7 kB / 0.942 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000744/0.8135, allocations: 0.5207 MB / 0.9425 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8135, allocations: 3.375 kB / 0.9425 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8135, allocations: 0 / 0.9425 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.8136, allocations: 0 / 0.9425 GB, free: 5.52 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001659/0.8152, allocations: 0.6019 MB / 0.9431 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8153, allocations: 8 kB / 0.9431 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.8153, allocations: 50.53 kB / 0.9431 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.8156, allocations: 50.38 kB / 0.9432 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.8159, allocations: 282.4 kB / 0.9435 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.816, allocations: 12.02 kB / 0.9435 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.816, allocations: 18.59 kB / 0.9435 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.8165, allocations: 236.3 kB / 0.9437 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.8165, allocations: 7.938 kB / 0.9437 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.8165, allocations: 6 kB / 0.9437 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.8166, allocations: 13.66 kB / 0.9437 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.8172, allocations: 246.9 kB / 0.944 GB, free: 20.76 MB / 0.7481 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.001184/0.8184, allocations: 0.8425 MB / 0.9448 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.8187, allocations: 145.8 kB / 0.9449 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.8189, allocations: 111.2 kB / 0.945 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.8192, allocations: 188.4 kB / 0.9452 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.8192, allocations: 30.56 kB / 0.9453 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.8192, allocations: 0 / 0.9453 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0007789/0.82, allocations: 312.3 kB / 0.9456 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.82, allocations: 52.06 kB / 0.9456 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.8203, allocations: 243.3 kB / 0.9458 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.8203, allocations: 25.7 kB / 0.9459 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.8204, allocations: 136.8 kB / 0.946 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.8204, allocations: 52.36 kB / 0.946 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.8205, allocations: 33.77 kB / 0.9461 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8206, allocations: 336.8 kB / 0.9464 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.8208, allocations: 62.14 kB / 0.9465 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.821, allocations: 101.6 kB / 0.9466 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.8214, allocations: 175.3 kB / 0.9467 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8214, allocations: 0 / 0.9467 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004188/0.8218, allocations: 212 kB / 0.9469 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8218, allocations: 13 kB / 0.9469 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8218, allocations: 64 / 0.9469 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8219, allocations: 5.5 kB / 0.9469 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.822, allocations: 30.61 kB / 0.947 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8221, allocations: 3.469 kB / 0.947 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.8222, allocations: 29.08 kB / 0.947 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.8223, allocations: 6.859 kB / 0.947 GB, free: 19.24 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001293/0.8224, allocations: 142.4 kB / 0.9471 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.8225, allocations: 25.19 kB / 0.9472 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.8225, allocations: 32.06 kB / 0.9472 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8225, allocations: 3.344 kB / 0.9472 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8226, allocations: 1.094 kB / 0.9472 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8226, allocations: 1.078 kB / 0.9472 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.8236, allocations: 0.687 MB / 0.9479 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8236, allocations: 0 / 0.9479 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.8237, allocations: 32.64 kB / 0.9479 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8237, allocations: 2.656 kB / 0.9479 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.8238, allocations: 4.047 kB / 0.9479 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.8238, allocations: 10.23 kB / 0.9479 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.8238, allocations: 7.234 kB / 0.9479 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.8243, allocations: 355.1 kB / 0.9483 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.8244, allocations: 111 kB / 0.9484 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.8244, allocations: 4.766 kB / 0.9484 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.8246, allocations: 13.42 kB / 0.9484 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.8247, allocations: 24.7 kB / 0.9484 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.8247, allocations: 5.188 kB / 0.9484 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001525/0.8248, allocations: 180.2 kB / 0.9486 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.273e-06/0.8248, allocations: 0 / 0.9486 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003517/0.8252, allocations: 61.25 kB / 0.9486 GB, free: 18.33 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001014/0.8262, allocations: 0.9393 MB / 0.9496 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.8267, allocations: 189.1 kB / 0.9497 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.8267, allocations: 0.5938 kB / 0.9497 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.827, allocations: 92.05 kB / 0.9498 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.8278, allocations: 120.8 kB / 0.9499 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.831, allocations: 2.519 MB / 0.9524 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.8313, allocations: 0.7562 MB / 0.9531 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002645/0.8316, allocations: 64.3 kB / 0.9532 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.8317, allocations: 64.73 kB / 0.9533 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.8317, allocations: 2.266 kB / 0.9533 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2567/1.088, allocations: 6.712 MB / 0.9598 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/1.089, allocations: 245.5 kB / 0.9601 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/3.042, allocations: 1.281 kB / 0.9601 GB, free: 14.51 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)