Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_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.001316/0.001316, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 192.2 kB / 16.67 MB, free: 6.582 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.398/1.398, 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/IDEAS 3.0.0-master/package.mo): time 0.9979/0.9979, allocations: 135.6 MB / 426.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3422, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001921/0.3442, allocations: 1.472 MB / 0.6663 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002511/0.3444, allocations: 115.6 kB / 0.6664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.3445, allocations: 1.438 kB / 0.6664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.3445, allocations: 7.922 kB / 0.6664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.3446, allocations: 10.97 kB / 0.6664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.3448, allocations: 20.41 kB / 0.6665 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.3448, allocations: 45.42 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.3449, allocations: 17.3 kB / 0.6665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.345, allocations: 17.48 kB / 0.6665 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.345, allocations: 25.2 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.345, allocations: 4.156 kB / 0.6666 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.3451, allocations: 19.95 kB / 0.6666 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.3451, allocations: 15 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.3452, allocations: 16.56 kB / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3453, allocations: 60.12 kB / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3453, allocations: 0 / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3453, allocations: 1.406 kB / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3453, allocations: 0 / 0.6667 GB, free: 5.441 MB / 0.4981 GB 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.0003972/0.3457, allocations: 383.7 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3457, allocations: 9.406 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.058e-05/0.3458, allocations: 31.78 kB / 0.6671 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.3458, allocations: 7.672 kB / 0.6671 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.55e-05/0.3459, allocations: 180.3 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3459, allocations: 13.69 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-06/0.3459, allocations: 1.5 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3461, allocations: 80.45 kB / 0.6673 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3462, allocations: 3.938 kB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.3462, allocations: 0 / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3462, allocations: 1.656 kB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.3465, allocations: 74.77 kB / 0.6674 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.3467, allocations: 285.6 kB / 0.6677 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3469, allocations: 72.31 kB / 0.6678 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3471, allocations: 38.98 kB / 0.6678 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.3473, allocations: 111 kB / 0.6679 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.3473, allocations: 36.06 kB / 0.6679 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3473, allocations: 0 / 0.6679 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005306/0.3478, allocations: 150.3 kB / 0.6681 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.3479, allocations: 60.5 kB / 0.6681 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.3479, allocations: 120.4 kB / 0.6683 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.3479, allocations: 30.7 kB / 0.6683 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.348, allocations: 91.03 kB / 0.6684 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.348, allocations: 5.203 kB / 0.6684 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.348, allocations: 16.31 kB / 0.6684 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.3481, allocations: 325.4 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3482, allocations: 36.62 kB / 0.6687 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3484, allocations: 37.7 kB / 0.6688 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.3487, allocations: 79.47 kB / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3487, allocations: 0 / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/0.349, allocations: 122.3 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.349, allocations: 5.062 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.349, allocations: 0 / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.349, allocations: 1.469 kB / 0.669 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3491, allocations: 13.8 kB / 0.669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.3491, allocations: 0 / 0.669 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.3492, allocations: 14.73 kB / 0.669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3492, allocations: 5.422 kB / 0.669 GB, free: 3.258 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.3493, allocations: 117.8 kB / 0.6691 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3493, allocations: 6.453 kB / 0.6691 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.3497, allocations: 114 kB / 0.6692 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3497, allocations: 7.922 kB / 0.6692 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3497, allocations: 5.406 kB / 0.6692 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.3497, allocations: 3.938 kB / 0.6692 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3498, allocations: 180 kB / 0.6694 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3498, allocations: 0 / 0.6694 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.3499, allocations: 14.77 kB / 0.6694 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3499, allocations: 0 / 0.6694 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3499, allocations: 5.469 kB / 0.6694 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3499, allocations: 0 / 0.6694 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3499, allocations: 3.984 kB / 0.6694 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3503, allocations: 213.4 kB / 0.6696 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.3503, allocations: 86.41 kB / 0.6697 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3503, allocations: 5.062 kB / 0.6697 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3504, allocations: 11.3 kB / 0.6697 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3505, allocations: 9.078 kB / 0.6698 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3505, allocations: 1.062 kB / 0.6698 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.3505, allocations: 102.5 kB / 0.6699 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3505, allocations: 0 / 0.6699 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002248/0.3508, allocations: 13.34 kB / 0.6699 GB, free: 2.438 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004831/0.3513, allocations: 0.7376 MB / 0.6706 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.3516, allocations: 85.86 kB / 0.6707 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3516, allocations: 0 / 0.6707 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3518, allocations: 48.55 kB / 0.6707 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.352, allocations: 6.594 kB / 0.6707 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.3524, allocations: 195.9 kB / 0.6709 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.412e-05/0.3525, allocations: 0.6831 MB / 0.6716 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.3525, allocations: 5.141 kB / 0.6716 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3525, allocations: 22.06 kB / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3525, allocations: 0 / 0.6716 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7476/1.1, allocations: 1.868 MB / 0.6734 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.22, allocations: 15.23 kB / 0.6734 GB, free: 15.73 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)