Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",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.004663/0.004663, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.00143/0.00143, allocations: 200.8 kB / 16.68 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.249/1.249, 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.309/2.309, allocations: 437.1 MB / 0.7106 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 75.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2424, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6139/0.8563, allocations: 176.2 MB / 1.338 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.8744, allocations: 15.66 MB / 1.354 GB, free: 1.875 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.8755, allocations: 32.09 kB / 1.354 GB, free: 1.863 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.8768, allocations: 0.6036 MB / 1.354 GB, free: 1.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.8802, allocations: 1.571 MB / 1.356 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.8836, allocations: 1.686 MB / 1.357 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.8863, allocations: 2.903 MB / 1.36 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.8882, allocations: 1.857 MB / 1.362 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.8911, allocations: 1.381 MB / 1.363 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.8922, allocations: 1.049 MB / 1.364 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.8924, allocations: 198.2 kB / 1.365 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.8946, allocations: 1.342 MB / 1.366 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.8951, allocations: 0.5637 MB / 1.366 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000909/0.896, allocations: 1.041 MB / 1.367 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.8992, allocations: 3.028 MB / 1.37 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.8992, allocations: 0 / 1.37 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8992, allocations: 0 / 1.37 GB, free: 8.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.8992, allocations: 1.875 kB / 1.37 GB, free: 8.66 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.00344/0.9027, allocations: 2.363 MB / 1.373 GB, free: 6.887 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.9027, allocations: 10.66 kB / 1.373 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.903, allocations: 237.8 kB / 1.373 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.9056, allocations: 476.6 kB / 1.373 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.9072, allocations: 1.154 MB / 1.375 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/0.9073, allocations: 124.5 kB / 1.375 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.9074, allocations: 153.6 kB / 1.375 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.91, allocations: 1.786 MB / 1.377 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.9101, allocations: 3.984 kB / 1.377 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.9102, allocations: 74.38 kB / 1.377 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.9102, allocations: 48.47 kB / 1.377 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.9129, allocations: 1.767 MB / 1.378 GB, free: 3.438 MB / 1.045 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.007147/0.9201, allocations: 6.161 MB / 1.384 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.9225, allocations: 1.559 MB / 1.386 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008868/0.9234, allocations: 0.5632 MB / 1.386 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/0.9242, allocations: 0.8813 MB / 1.387 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.9255, allocations: 0.796 MB / 1.388 GB, free: 11.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=126): time 2.625e-06/0.9255, allocations: 0 / 1.388 GB, free: 11.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=126): time 0.004106/0.9296, allocations: 1.893 MB / 1.39 GB, free: 10.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.9297, allocations: 196.4 kB / 1.39 GB, free: 10.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.9308, allocations: 0.9859 MB / 1.391 GB, free: 9.773 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.9309, allocations: 57.06 kB / 1.391 GB, free: 9.719 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.9313, allocations: 0.6719 MB / 1.392 GB, free: 9.125 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.9317, allocations: 434.8 kB / 1.392 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.932, allocations: 220 kB / 1.392 GB, free: 8.617 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9321, allocations: 347.5 kB / 1.393 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.9329, allocations: 428 kB / 1.393 GB, free: 8.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/0.9338, allocations: 0.5913 MB / 1.394 GB, free: 7.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.9356, allocations: 1.022 MB / 1.395 GB, free: 7.113 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9356, allocations: 4 kB / 1.395 GB, free: 7.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002499/0.9381, allocations: 1.308 MB / 1.396 GB, free: 6.441 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9381, allocations: 5.125 kB / 1.396 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9381, allocations: 6.688 kB / 1.396 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.9386, allocations: 92.39 kB / 1.396 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.9397, allocations: 279.3 kB / 1.396 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.9417, allocations: 1.649 MB / 1.398 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/0.9425, allocations: 143.8 kB / 1.398 GB, free: 4.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.9426, allocations: 43.97 kB / 1.398 GB, free: 4.598 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004784/0.9431, allocations: 373.8 kB / 1.399 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.9433, allocations: 149.5 kB / 1.399 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.9464, allocations: 1.604 MB / 1.4 GB, free: 3.352 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.9464, allocations: 20.97 kB / 1.4 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.9464, allocations: 0 / 1.4 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9464, allocations: 7.969 kB / 1.4 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/0.951, allocations: 3.161 MB / 1.403 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9511, allocations: 4 kB / 1.403 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.9522, allocations: 279.5 kB / 1.404 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.9526, allocations: 76.78 kB / 1.404 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.9527, allocations: 31.97 kB / 1.404 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.9545, allocations: 1.666 MB / 1.405 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9545, allocations: 0 / 1.405 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/0.9583, allocations: 2.194 MB / 1.408 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.9589, allocations: 407.7 kB / 1.408 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.959, allocations: 23.94 kB / 1.408 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/0.96, allocations: 90.14 kB / 1.408 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.9602, allocations: 93.25 kB / 1.408 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.9603, allocations: 63.95 kB / 1.408 GB, free: 11.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008231/0.9611, allocations: 0.6841 MB / 1.409 GB, free: 10.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9611, allocations: 0 / 1.409 GB, free: 10.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001107/0.9622, allocations: 0.5532 MB / 1.409 GB, free: 10.41 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006071/0.9683, allocations: 3.353 MB / 1.413 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.9706, allocations: 1.248 MB / 1.414 GB, free: 5.957 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9706, allocations: 4.438 kB / 1.414 GB, free: 5.953 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.9719, allocations: 0.752 MB / 1.415 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.974, allocations: 0.5728 MB / 1.415 GB, free: 4.633 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.9896, allocations: 10.09 MB / 1.425 GB, free: 10.37 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/0.9905, allocations: 1.299 MB / 1.426 GB, free: 9.039 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00126/0.9918, allocations: 446.7 kB / 1.427 GB, free: 8.598 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009072/0.9927, allocations: 0.6633 MB / 1.427 GB, free: 7.934 MB / 1.092 GB Notification: Performance of SimCode: time 2.1e-07/0.9927, allocations: 0 / 1.427 GB, free: 7.934 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.137/3.129, allocations: 37.39 MB / 1.464 GB, free: 2.969 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.13/36.26, allocations: 23.66 kB / 1.464 GB, free: 2.945 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)