Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",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.0007947/0.0007948, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007962/0.0007962, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7396/0.7396, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003184, allocations: 8 kB / 0.5035 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4301, allocations: 81.59 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001439/0.4316, allocations: 1.192 MB / 0.5843 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.4319, allocations: 106.8 kB / 0.5844 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.4319, allocations: 0 / 0.5844 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.432, allocations: 5.844 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.432, allocations: 6.641 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.4322, allocations: 21.31 kB / 0.5845 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.4323, allocations: 36.05 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.4324, allocations: 14.91 kB / 0.5845 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.4324, allocations: 12.89 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.4325, allocations: 23.92 kB / 0.5845 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.4325, allocations: 2.344 kB / 0.5845 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.4325, allocations: 18.33 kB / 0.5846 GB, free: 3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.4326, allocations: 10.02 kB / 0.5846 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.4326, allocations: 32.52 kB / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.4327, allocations: 32.36 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4327, allocations: 1.281 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4327, allocations: 0.7969 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.4327, allocations: 4 kB / 0.5846 GB, free: 2.953 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004071/0.4331, allocations: 385.6 kB / 0.585 GB, free: 2.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4332, allocations: 9.781 kB / 0.585 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.4332, allocations: 31.31 kB / 0.585 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.4333, allocations: 15.86 kB / 0.5851 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.4334, allocations: 168.3 kB / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4334, allocations: 1.844 kB / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4334, allocations: 6.406 kB / 0.5852 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4336, allocations: 81.78 kB / 0.5853 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4337, allocations: 7.938 kB / 0.5853 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.4337, allocations: 4.562 kB / 0.5853 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4337, allocations: 1.844 kB / 0.5853 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.434, allocations: 94.09 kB / 0.5854 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.4343, allocations: 292.6 kB / 0.5857 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.4345, allocations: 74.67 kB / 0.5858 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4346, allocations: 58.72 kB / 0.5858 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.4348, allocations: 109.1 kB / 0.5859 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.4349, allocations: 32.8 kB / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4349, allocations: 0 / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005199/0.4354, allocations: 183.9 kB / 0.5861 GB, free: 1.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.4354, allocations: 60.16 kB / 0.5862 GB, free: 1.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.4355, allocations: 127.7 kB / 0.5863 GB, free: 1.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.4355, allocations: 27.53 kB / 0.5863 GB, free: 1.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.4356, allocations: 91.73 kB / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.4356, allocations: 6.375 kB / 0.5864 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.4356, allocations: 0 / 0.5864 GB, free: 1.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.4356, allocations: 319.3 kB / 0.5867 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4358, allocations: 52.66 kB / 0.5868 GB, free: 1.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4359, allocations: 50.16 kB / 0.5868 GB, free: 1.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4361, allocations: 48.27 kB / 0.5869 GB, free: 1.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4361, allocations: 1.578 kB / 0.5869 GB, free: 1.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.4364, allocations: 134.9 kB / 0.587 GB, free: 1.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4364, allocations: 5.312 kB / 0.587 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4365, allocations: 1.031 kB / 0.587 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4365, allocations: 4 kB / 0.587 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4366, allocations: 24.62 kB / 0.587 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4366, allocations: 5.453 kB / 0.587 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.4367, allocations: 20.27 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4367, allocations: 0.875 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 5.624e-05/0.4368, allocations: 120.5 kB / 0.5872 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.4368, allocations: 7.359 kB / 0.5872 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.4372, allocations: 142.8 kB / 0.5873 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4372, allocations: 0.9375 kB / 0.5873 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.4372, allocations: 3.938 kB / 0.5873 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4372, allocations: 5 kB / 0.5873 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4373, allocations: 175.5 kB / 0.5875 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4373, allocations: 0 / 0.5875 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.4374, allocations: 25.84 kB / 0.5875 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4375, allocations: 0 / 0.5875 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4375, allocations: 5.391 kB / 0.5875 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4375, allocations: 0 / 0.5875 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4375, allocations: 0.875 kB / 0.5875 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.4378, allocations: 232.1 kB / 0.5877 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.4378, allocations: 83.23 kB / 0.5878 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4379, allocations: 1.375 kB / 0.5878 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.438, allocations: 19.25 kB / 0.5878 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.438, allocations: 4.734 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.438, allocations: 1.594 kB / 0.5879 GB, free: 368 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.4381, allocations: 102.8 kB / 0.588 GB, free: 284 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4381, allocations: 0 / 0.588 GB, free: 284 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.4383, allocations: 11.19 kB / 0.588 GB, free: 284 kB / 430.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.0006093/0.4389, allocations: 0.7742 MB / 0.5887 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.4393, allocations: 102.4 kB / 0.5888 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4393, allocations: 0.6875 kB / 0.5888 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4394, allocations: 52.98 kB / 0.5889 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4397, allocations: 5.547 kB / 0.5889 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4401, allocations: 194 kB / 0.5891 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4404, allocations: 0.694 MB / 0.5897 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.4404, allocations: 5.547 kB / 0.5897 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.4404, allocations: 14.16 kB / 0.5898 GB, free: 14.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4404, allocations: 1.094 kB / 0.5898 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.452, allocations: 1.53 MB / 0.5912 GB, free: 14.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.4522, allocations: 179.8 kB / 0.5914 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.053, allocations: 1.125 kB / 0.5914 GB, free: 14.26 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: