Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Bicubic,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Bicubic",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.001274/0.001274, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001467/0.001468, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.322/2.322, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.085/1.085, allocations: 132.3 MB / 423.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000587/0.0005872, allocations: 8.562 kB / 0.5033 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8183, allocations: 81.57 MB / 0.583 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Bicubic): time 0.002546/0.8209, allocations: 1.185 MB / 0.5841 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004501/0.8214, allocations: 119.9 kB / 0.5842 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.8215, allocations: 3.281 kB / 0.5842 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.8215, allocations: 1.406 kB / 0.5842 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.8216, allocations: 11.48 kB / 0.5842 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.8219, allocations: 24.05 kB / 0.5843 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.822, allocations: 25.33 kB / 0.5843 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.8222, allocations: 10.08 kB / 0.5843 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.8223, allocations: 22.55 kB / 0.5843 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.8223, allocations: 19.69 kB / 0.5843 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.8224, allocations: 2.281 kB / 0.5843 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.8225, allocations: 33.42 kB / 0.5844 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.8226, allocations: 10.58 kB / 0.5844 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.8226, allocations: 36.97 kB / 0.5844 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.8228, allocations: 48.16 kB / 0.5845 GB, free: 2.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8228, allocations: 1.125 kB / 0.5845 GB, free: 2.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8228, allocations: 0 / 0.5845 GB, free: 2.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.8229, allocations: 4 kB / 0.5845 GB, free: 2.785 MB / 430.1 MB 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.000718/0.8236, allocations: 383.5 kB / 0.5848 GB, free: 2.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.8237, allocations: 10.19 kB / 0.5849 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.8237, allocations: 37.98 kB / 0.5849 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.8238, allocations: 10.53 kB / 0.5849 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.8239, allocations: 175.4 kB / 0.5851 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.824, allocations: 1.672 kB / 0.5851 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.824, allocations: 1.938 kB / 0.5851 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.8245, allocations: 120.1 kB / 0.5852 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8245, allocations: 4.812 kB / 0.5852 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8246, allocations: 3.938 kB / 0.5852 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.8246, allocations: 10.66 kB / 0.5852 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.8254, allocations: 145 kB / 0.5853 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.8261, allocations: 349.7 kB / 0.5857 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.8265, allocations: 69.7 kB / 0.5857 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/0.8269, allocations: 124.1 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.827, allocations: 36.77 kB / 0.5859 GB, free: 1.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.827, allocations: 0 / 0.5859 GB, free: 1.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001042/0.828, allocations: 164.1 kB / 0.586 GB, free: 1.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.8281, allocations: 52.56 kB / 0.5861 GB, free: 1.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.8283, allocations: 149.5 kB / 0.5862 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.8283, allocations: 30.52 kB / 0.5863 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.8284, allocations: 120.9 kB / 0.5864 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.8285, allocations: 15.77 kB / 0.5864 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.8285, allocations: 0 / 0.5864 GB, free: 1.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.8286, allocations: 320.1 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.8289, allocations: 58.62 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.8293, allocations: 122.7 kB / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.8297, allocations: 78.55 kB / 0.587 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8297, allocations: 1.219 kB / 0.587 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008169/0.8305, allocations: 211.7 kB / 0.5872 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8306, allocations: 7.031 kB / 0.5872 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.8306, allocations: 2.656 kB / 0.5872 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.8306, allocations: 3.438 kB / 0.5872 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.8309, allocations: 37.67 kB / 0.5872 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.831, allocations: 8.016 kB / 0.5872 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.8312, allocations: 36.8 kB / 0.5872 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.8313, allocations: 11.44 kB / 0.5873 GB, free: 0.6211 MB / 430.1 MB 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 () * Number of clocked 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 0.0001219/0.8314, allocations: 119.4 kB / 0.5874 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.8315, allocations: 11.03 kB / 0.5874 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.8322, allocations: 142.9 kB / 0.5875 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8322, allocations: 1.766 kB / 0.5875 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8323, allocations: 7.938 kB / 0.5875 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.8323, allocations: 5.562 kB / 0.5875 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.8326, allocations: 176.1 kB / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8326, allocations: 2.047 kB / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.8328, allocations: 20.88 kB / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8328, allocations: 0 / 0.5877 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8328, allocations: 8.641 kB / 0.5877 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.8328, allocations: 1.953 kB / 0.5877 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8328, allocations: 0 / 0.5877 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.8335, allocations: 224.2 kB / 0.5879 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.8336, allocations: 80.11 kB / 0.588 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.8337, allocations: 0.6094 kB / 0.588 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.8339, allocations: 24.89 kB / 0.588 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.834, allocations: 5.109 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.834, allocations: 3.5 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.8341, allocations: 111.5 kB / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8342, allocations: 0 / 0.5882 GB, free: 15.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.8347, allocations: 19.03 kB / 0.5882 GB, free: 15.87 MB / 446.1 MB 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 () * Number of clocked 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.001241/0.836, allocations: 0.7525 MB / 0.5889 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.8368, allocations: 126.8 kB / 0.589 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8368, allocations: 0 / 0.589 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.8371, allocations: 45.38 kB / 0.5891 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.8374, allocations: 19.92 kB / 0.5891 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.8384, allocations: 219.7 kB / 0.5893 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.8389, allocations: 0.697 MB / 0.59 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.8391, allocations: 25.64 kB / 0.59 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.8392, allocations: 21.83 kB / 0.59 GB, free: 14.23 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8392, allocations: 0 / 0.59 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.8597, allocations: 1.81 MB / 0.5918 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000346/0.8601, allocations: 162.6 kB / 0.592 GB, free: 13.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.507, allocations: 0 / 0.592 GB, free: 13.81 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Bicubic.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: