Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",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.005178/0.005178, allocations: 108.5 kB / 15.74 MB, free: 6.051 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.001161/0.001161, allocations: 193.2 kB / 16.67 MB, free: 5.98 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 290.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8654/0.8654, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4916/0.6687, allocations: 154 MB / 0.9163 GB, free: 9.156 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.6831, allocations: 10.51 MB / 0.9266 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009793/0.6841, allocations: 15.94 kB / 0.9266 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.6853, allocations: 273.8 kB / 0.9268 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.6886, allocations: 0.9465 MB / 0.9278 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.6915, allocations: 1.085 MB / 0.9288 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.6937, allocations: 1.644 MB / 0.9304 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.6955, allocations: 1.178 MB / 0.9316 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.6974, allocations: 0.7326 MB / 0.9323 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007965/0.6983, allocations: 0.6107 MB / 0.9329 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.6985, allocations: 136 kB / 0.933 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.7005, allocations: 1.026 MB / 0.934 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.7009, allocations: 382.8 kB / 0.9344 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.7018, allocations: 0.6607 MB / 0.935 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.7058, allocations: 2.204 MB / 0.9372 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.7059, allocations: 0 / 0.9372 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7059, allocations: 0 / 0.9372 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.623e-05/0.706, allocations: 0 / 0.9372 GB, free: 3.723 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004138/0.7101, allocations: 1.726 MB / 0.9389 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7102, allocations: 8.031 kB / 0.9389 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003281/0.7105, allocations: 156.1 kB / 0.939 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.7123, allocations: 274 kB / 0.9393 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.7139, allocations: 1.077 MB / 0.9403 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.714, allocations: 77.98 kB / 0.9404 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.7142, allocations: 93.88 kB / 0.9405 GB, free: 220 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.716, allocations: 1.106 MB / 0.9416 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.716, allocations: 0 / 0.9416 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.7161, allocations: 47.98 kB / 0.9416 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.7161, allocations: 20 kB / 0.9416 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.7182, allocations: 1.315 MB / 0.9429 GB, free: 13.68 MB / 0.7012 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.004895/0.7231, allocations: 3.245 MB / 0.9461 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.7251, allocations: 1.099 MB / 0.9472 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.7258, allocations: 416 kB / 0.9476 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.7261, allocations: 138 kB / 0.9477 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.7273, allocations: 0.6254 MB / 0.9483 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 3.316e-06/0.7273, allocations: 0 / 0.9483 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.004142/0.7314, allocations: 1.635 MB / 0.9499 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.7315, allocations: 192.9 kB / 0.9501 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.7328, allocations: 1.028 MB / 0.9511 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/0.7329, allocations: 45.7 kB / 0.9511 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.7333, allocations: 472.5 kB / 0.9516 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.7336, allocations: 307.6 kB / 0.9519 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.7338, allocations: 170.5 kB / 0.952 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7339, allocations: 334 kB / 0.9524 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.7346, allocations: 341.8 kB / 0.9527 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.7354, allocations: 469 kB / 0.9531 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.7368, allocations: 0.7687 MB / 0.9539 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.7368, allocations: 0 / 0.9539 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002467/0.7393, allocations: 1.038 MB / 0.9549 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7394, allocations: 7.984 kB / 0.9549 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7394, allocations: 7.938 kB / 0.9549 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/0.7401, allocations: 113.7 kB / 0.955 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.741, allocations: 195.8 kB / 0.9552 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.7443, allocations: 3.061 MB / 0.9582 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/0.7452, allocations: 112.5 kB / 0.9583 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7453, allocations: 35.97 kB / 0.9583 GB, free: 13.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006197/0.746, allocations: 317.4 kB / 0.9586 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.7463, allocations: 106.8 kB / 0.9587 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.7492, allocations: 1.314 MB / 0.96 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.7492, allocations: 12 kB / 0.96 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7492, allocations: 4 kB / 0.96 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.7493, allocations: 7.969 kB / 0.9601 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.7537, allocations: 2.435 MB / 0.9624 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.7537, allocations: 4 kB / 0.9624 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008078/0.7545, allocations: 191.8 kB / 0.9626 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/0.7551, allocations: 101.6 kB / 0.9627 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/0.7552, allocations: 35.91 kB / 0.9627 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.7584, allocations: 3.089 MB / 0.9658 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7584, allocations: 0 / 0.9658 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.7612, allocations: 1.241 MB / 0.967 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/0.7618, allocations: 323.4 kB / 0.9673 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/0.762, allocations: 16 kB / 0.9673 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.763, allocations: 85.94 kB / 0.9674 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.7633, allocations: 84.83 kB / 0.9675 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.7634, allocations: 43.97 kB / 0.9675 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001127/0.7645, allocations: 0.7489 MB / 0.9682 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7646, allocations: 0 / 0.9682 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001446/0.766, allocations: 439 kB / 0.9687 GB, free: 2.27 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004714/0.7707, allocations: 2.405 MB / 0.971 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.7731, allocations: 1.107 MB / 0.9721 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7731, allocations: 0 / 0.9721 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.7744, allocations: 0.7411 MB / 0.9728 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.776, allocations: 359.3 kB / 0.9732 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.791, allocations: 8.434 MB / 0.9814 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008836/0.7919, allocations: 1.106 MB / 0.9825 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001164/0.7931, allocations: 311.8 kB / 0.9828 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007393/0.7938, allocations: 475.1 kB / 0.9832 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of SimCode: time 1.333e-06/0.7938, allocations: 0 / 0.9832 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08831/0.8822, allocations: 27.87 MB / 1.01 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.82, allocations: 3.938 kB / 1.01 GB, free: 7.844 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)