Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",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.005131/0.005131, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001226/0.001226, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 278.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8886/0.8886, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1572, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5391/0.6963, allocations: 167.2 MB / 0.9292 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0239/0.7202, allocations: 17.24 MB / 0.946 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.7215, allocations: 31.81 kB / 0.9461 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.7232, allocations: 0.5469 MB / 0.9466 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.7277, allocations: 1.711 MB / 0.9483 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.731, allocations: 1.435 MB / 0.9497 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002899/0.7339, allocations: 2.686 MB / 0.9523 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.7364, allocations: 2.001 MB / 0.9542 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.7399, allocations: 1.458 MB / 0.9557 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.7415, allocations: 1.089 MB / 0.9567 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.7421, allocations: 224 kB / 0.9569 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.7451, allocations: 1.552 MB / 0.9585 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009738/0.7461, allocations: 0.8101 MB / 0.9593 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.7481, allocations: 1.236 MB / 0.9605 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.7533, allocations: 3.68 MB / 0.9641 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7533, allocations: 0 / 0.9641 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7533, allocations: 0 / 0.9641 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001003/0.7534, allocations: 3.984 kB / 0.9641 GB, free: 7.992 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005633/0.759, allocations: 2.907 MB / 0.9669 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7591, allocations: 12.03 kB / 0.9669 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004103/0.7595, allocations: 252.8 kB / 0.9671 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.7631, allocations: 0.5744 MB / 0.9677 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.7682, allocations: 3.429 MB / 0.9711 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.7684, allocations: 135.4 kB / 0.9712 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.7688, allocations: 164 kB / 0.9713 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.7727, allocations: 1.96 MB / 0.9733 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.7728, allocations: 0 / 0.9733 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.773, allocations: 76 kB / 0.9733 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.773, allocations: 40 kB / 0.9734 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.7766, allocations: 2.117 MB / 0.9754 GB, free: 12.16 MB / 0.7325 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.009291/0.7859, allocations: 6.327 MB / 0.9816 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.7891, allocations: 2.125 MB / 0.9837 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.7903, allocations: 0.7724 MB / 0.9844 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/0.7909, allocations: 433.6 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.7925, allocations: 1.017 MB / 0.9859 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.517e-06/0.7925, allocations: 0 / 0.9859 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006223/0.7987, allocations: 3 MB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.7988, allocations: 197.2 kB / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.8031, allocations: 4.09 MB / 0.993 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.8033, allocations: 69.62 kB / 0.993 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007085/0.804, allocations: 0.8947 MB / 0.9939 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.8043, allocations: 481 kB / 0.9944 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.8047, allocations: 238.8 kB / 0.9946 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8049, allocations: 361.9 kB / 0.9949 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.8059, allocations: 0.5804 MB / 0.9955 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.8071, allocations: 0.8125 MB / 0.9963 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.8093, allocations: 1.329 MB / 0.9976 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8094, allocations: 4 kB / 0.9976 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003759/0.8131, allocations: 1.799 MB / 0.9994 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.8132, allocations: 8 kB / 0.9994 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8132, allocations: 3.984 kB / 0.9994 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.8142, allocations: 212.1 kB / 0.9996 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.8157, allocations: 323.6 kB / 0.9999 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/0.8217, allocations: 7.329 MB / 1.007 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.8233, allocations: 166.8 kB / 1.007 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.8235, allocations: 51.95 kB / 1.007 GB, free: 10.14 MB / 0.7637 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 (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.8246, allocations: 486.1 kB / 1.008 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005472/0.8252, allocations: 197.6 kB / 1.008 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/0.8296, allocations: 2.169 MB / 1.01 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.8296, allocations: 16 kB / 1.01 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.8297, allocations: 4 kB / 1.01 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.8297, allocations: 7.969 kB / 1.01 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.8367, allocations: 4.14 MB / 1.014 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8367, allocations: 0 / 1.014 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.838, allocations: 319.5 kB / 1.014 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007913/0.8388, allocations: 196.1 kB / 1.015 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.839, allocations: 43.95 kB / 1.015 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/0.8444, allocations: 7.363 MB / 1.022 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8444, allocations: 4.031 kB / 1.022 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.8483, allocations: 2.021 MB / 1.024 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.8492, allocations: 0.5137 MB / 1.024 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/0.8495, allocations: 28 kB / 1.024 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.8508, allocations: 114.3 kB / 1.024 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.851, allocations: 109.2 kB / 1.025 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.8512, allocations: 75.94 kB / 1.025 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003402/0.8546, allocations: 3.149 MB / 1.028 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8546, allocations: 0 / 1.028 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001909/0.8565, allocations: 0.6703 MB / 1.028 GB, free: 3.668 MB / 0.7794 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005774/0.8623, allocations: 3.226 MB / 1.031 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.8656, allocations: 2.078 MB / 1.034 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.8657, allocations: 8.547 kB / 1.034 GB, free: 14.44 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002211/0.8679, allocations: 1.422 MB / 1.035 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.8701, allocations: 0.5503 MB / 1.035 GB, free: 12.44 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/0.8988, allocations: 21.2 MB / 1.056 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.9003, allocations: 1.545 MB / 1.058 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002065/0.9024, allocations: 0.5325 MB / 1.058 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/0.9038, allocations: 0.9014 MB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of SimCode: time 1.403e-06/0.9038, allocations: 0 / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4285/1.332, allocations: 48.78 MB / 1.107 GB, free: 286.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.86, allocations: 4.75 kB / 1.107 GB, free: 286.9 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)