Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 141.8 MB / 149.3 MB, free: 9.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 176.8 kB / 182.2 MB, free: 9.418 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.691/1.691, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 273.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.621e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5893/0.5893, allocations: 82.76 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.7599, allocations: 108 MB / 0.8629 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.7603, allocations: 75.94 kB / 0.863 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003996/0.7643, allocations: 1.256 MB / 0.8642 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7644, allocations: 0 / 0.8642 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7644, allocations: 0 / 0.8642 GB, free: 2.461 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005528/0.7649, allocations: 378.3 kB / 0.8645 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.765, allocations: 16.02 kB / 0.8646 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.7651, allocations: 3.906 kB / 0.8646 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.7652, allocations: 171 kB / 0.8647 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.7653, allocations: 3.953 kB / 0.8647 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.7653, allocations: 4 kB / 0.8647 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001669/0.7655, allocations: 67.98 kB / 0.8648 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.7656, allocations: 77.67 kB / 0.8649 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7656, allocations: 0 / 0.8649 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7656, allocations: 0 / 0.8649 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.7657, allocations: 15.98 kB / 0.8649 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.7664, allocations: 361.1 kB / 0.8652 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.7665, allocations: 26.58 kB / 0.8653 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.7665, allocations: 16.86 kB / 0.8653 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.7668, allocations: 121.2 kB / 0.8654 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.7669, allocations: 34.56 kB / 0.8654 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7669, allocations: 0 / 0.8654 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003152/0.7672, allocations: 69.62 kB / 0.8655 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.7672, allocations: 55.34 kB / 0.8655 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.7674, allocations: 142.7 kB / 0.8657 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.7675, allocations: 25.7 kB / 0.8657 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.7676, allocations: 119.6 kB / 0.8658 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.7676, allocations: 7.906 kB / 0.8658 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-06/0.7676, allocations: 0 / 0.8658 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7678, allocations: 322.8 kB / 0.8661 GB, free: 256 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.7678, allocations: 16 kB / 0.8662 GB, free: 240 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.7679, allocations: 94.88 kB / 0.8662 GB, free: 112 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.7681, allocations: 51.89 kB / 0.8663 GB, free: 60 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7681, allocations: 0 / 0.8663 GB, free: 60 kB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002883/0.7684, allocations: 141.5 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7684, allocations: 8 kB / 0.8664 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7684, allocations: 0 / 0.8664 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.7684, allocations: 12.25 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.7686, allocations: 39.97 kB / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.7686, allocations: 7.984 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7688, allocations: 39.72 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.7688, allocations: 5.484 kB / 0.8665 GB, free: 15.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.7689, allocations: 109 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000172/0.7691, allocations: 73.58 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.7691, allocations: 7.938 kB / 0.8667 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.7694, allocations: 89.89 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.7694, allocations: 3.953 kB / 0.8668 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7694, allocations: 4 kB / 0.8668 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7694, allocations: 0 / 0.8668 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.7696, allocations: 154.2 kB / 0.867 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7696, allocations: 0 / 0.867 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.7697, allocations: 23.97 kB / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7697, allocations: 0 / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.7697, allocations: 0 / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7697, allocations: 0 / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7697, allocations: 0 / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.77, allocations: 179.4 kB / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.77, allocations: 81.02 kB / 0.8672 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.7701, allocations: 0 / 0.8672 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.7702, allocations: 15.98 kB / 0.8672 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.7702, allocations: 7.984 kB / 0.8672 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.7703, allocations: 8 kB / 0.8673 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.451e-05/0.7703, allocations: 101 kB / 0.8674 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7703, allocations: 0 / 0.8674 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002594/0.7706, allocations: 27.86 kB / 0.8674 GB, free: 14.84 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006327/0.7712, allocations: 0.693 MB / 0.8681 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.7714, allocations: 59.86 kB / 0.8681 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7714, allocations: 3.828 kB / 0.8681 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.7715, allocations: 12 kB / 0.8681 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.7717, allocations: 8 kB / 0.8681 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.7722, allocations: 137.8 kB / 0.8683 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.7726, allocations: 0.6978 MB / 0.8689 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.7727, allocations: 29.42 kB / 0.869 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.7728, allocations: 23.38 kB / 0.869 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of SimCode: time 4.228e-06/0.7728, allocations: 0 / 0.869 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.8001, allocations: 1.527 MB / 0.8705 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.8005, allocations: 140.7 kB / 0.8706 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.652, allocations: 0 / 0.8706 GB, free: 11.41 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)