Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_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.004694/0.004694, allocations: 100.7 kB / 15.73 MB, free: 6.031 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.001376/0.001376, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 71.81 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2332, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5834/0.8166, allocations: 154.5 MB / 1.317 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.8292, allocations: 10.54 MB / 1.327 GB, free: 5.207 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.8297, allocations: 17.94 kB / 1.327 GB, free: 5.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.8305, allocations: 276.2 kB / 1.328 GB, free: 5.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.8327, allocations: 0.9866 MB / 1.329 GB, free: 4.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.8349, allocations: 1.082 MB / 1.33 GB, free: 3.914 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.8364, allocations: 1.722 MB / 1.331 GB, free: 3.043 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.8376, allocations: 1.151 MB / 1.332 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.8391, allocations: 0.7171 MB / 1.333 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.8397, allocations: 0.6208 MB / 1.334 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.8399, allocations: 133.9 kB / 1.334 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.8415, allocations: 1.028 MB / 1.335 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.8418, allocations: 381.2 kB / 1.335 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.8424, allocations: 0.6796 MB / 1.336 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.8445, allocations: 2.242 MB / 1.338 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8445, allocations: 0 / 1.338 GB, free: 15.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.91e-07/0.8445, allocations: 3.938 kB / 1.338 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.8445, allocations: 1.125 kB / 1.338 GB, free: 15.96 MB / 1.029 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.002619/0.8472, allocations: 1.784 MB / 1.34 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.8472, allocations: 9.312 kB / 1.34 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.8474, allocations: 156.6 kB / 1.34 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.8487, allocations: 274.3 kB / 1.34 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.85, allocations: 1.085 MB / 1.341 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.8501, allocations: 69.88 kB / 1.341 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.8502, allocations: 99.06 kB / 1.342 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.8519, allocations: 1.11 MB / 1.343 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.8519, allocations: 0 / 1.343 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.852, allocations: 42.84 kB / 1.343 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.8521, allocations: 23.72 kB / 1.343 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.8541, allocations: 1.317 MB / 1.344 GB, free: 13.09 MB / 1.029 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.004467/0.8586, allocations: 3.473 MB / 1.347 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.8604, allocations: 1.107 MB / 1.348 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.8612, allocations: 418.7 kB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.8614, allocations: 144.3 kB / 1.349 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.8624, allocations: 0.6166 MB / 1.35 GB, free: 10.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=95): time 3.957e-06/0.8624, allocations: 0 / 1.35 GB, free: 10.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=95): time 0.003802/0.8662, allocations: 1.641 MB / 1.351 GB, free: 9.309 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.8663, allocations: 190.7 kB / 1.351 GB, free: 9.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.8674, allocations: 1.028 MB / 1.352 GB, free: 8.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.8675, allocations: 51.2 kB / 1.352 GB, free: 8.652 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.8678, allocations: 473.1 kB / 1.353 GB, free: 8.285 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.8681, allocations: 327.2 kB / 1.353 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.8683, allocations: 176.1 kB / 1.353 GB, free: 7.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8685, allocations: 338.6 kB / 1.354 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.8691, allocations: 340.6 kB / 1.354 GB, free: 7.441 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.87, allocations: 467.1 kB / 1.354 GB, free: 7.152 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.8714, allocations: 0.7702 MB / 1.355 GB, free: 6.746 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8714, allocations: 1.469 kB / 1.355 GB, free: 6.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002344/0.8738, allocations: 1.046 MB / 1.356 GB, free: 6.215 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.8738, allocations: 5.781 kB / 1.356 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8738, allocations: 64 / 1.356 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.8744, allocations: 117.4 kB / 1.356 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.8752, allocations: 198.2 kB / 1.357 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.8782, allocations: 3.067 MB / 1.36 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.8789, allocations: 107.8 kB / 1.36 GB, free: 2.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.879, allocations: 36.91 kB / 1.36 GB, free: 2.93 MB / 1.029 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.0003898/0.8794, allocations: 307.5 kB / 1.36 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.8796, allocations: 111 kB / 1.36 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.8824, allocations: 1.32 MB / 1.361 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.8824, allocations: 13.61 kB / 1.361 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8824, allocations: 1.375 kB / 1.361 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.8824, allocations: 3.984 kB / 1.361 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.8862, allocations: 2.446 MB / 1.364 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8863, allocations: 2.344 kB / 1.364 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.887, allocations: 191.1 kB / 1.364 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/0.8875, allocations: 99.75 kB / 1.364 GB, free: 204 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.8876, allocations: 37.44 kB / 1.364 GB, free: 176 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.8905, allocations: 3.092 MB / 1.367 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8905, allocations: 4.062 kB / 1.367 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.8928, allocations: 1.236 MB / 1.368 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.8932, allocations: 332.4 kB / 1.369 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.8933, allocations: 25.61 kB / 1.369 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.8941, allocations: 80.41 kB / 1.369 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.8943, allocations: 87.62 kB / 1.369 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/0.8944, allocations: 50.84 kB / 1.369 GB, free: 11.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007649/0.8951, allocations: 0.7486 MB / 1.37 GB, free: 11.59 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8951, allocations: 4 kB / 1.37 GB, free: 11.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001017/0.8962, allocations: 450 kB / 1.37 GB, free: 11.47 MB / 1.045 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.004391/0.9006, allocations: 2.397 MB / 1.372 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.9025, allocations: 1.104 MB / 1.373 GB, free: 9.398 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9025, allocations: 10.44 kB / 1.373 GB, free: 9.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.9036, allocations: 0.7386 MB / 1.374 GB, free: 8.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.905, allocations: 369.4 kB / 1.375 GB, free: 8.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.9161, allocations: 8.377 MB / 1.383 GB, free: 3.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.9168, allocations: 1.106 MB / 1.384 GB, free: 3.027 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.9176, allocations: 312.5 kB / 1.384 GB, free: 2.875 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.9182, allocations: 465.4 kB / 1.385 GB, free: 2.504 MB / 1.045 GB Notification: Performance of SimCode: time 2.4e-07/0.9182, allocations: 0 / 1.385 GB, free: 2.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.349/6.268, allocations: 28.25 MB / 1.412 GB, free: 8.16 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.4/31.67, allocations: 10.58 kB / 1.412 GB, free: 8.152 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)