Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.6/1.6, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.88 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 50.54 MB / 409.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003856/0.3271, allocations: 1.865 MB / 410.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3287, allocations: 0.7013 MB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.3289, allocations: 7.938 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3291, allocations: 15.8 kB / 411.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3293, allocations: 23.8 kB / 411.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3299, allocations: 106.8 kB / 411.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3302, allocations: 147.6 kB / 411.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.3304, allocations: 61.7 kB / 412 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3306, allocations: 59.72 kB / 412 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3307, allocations: 51.66 kB / 412.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3308, allocations: 11.98 kB / 412.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.3308, allocations: 20 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.3309, allocations: 35.84 kB / 412.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.331, allocations: 63.55 kB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.3314, allocations: 142.4 kB / 412.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3314, allocations: 0 / 412.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3314, allocations: 0 / 412.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3314, allocations: 0 / 412.4 MB, free: 14.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008292/0.3323, allocations: 458.8 kB / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3323, allocations: 11.97 kB / 412.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.3324, allocations: 50.73 kB / 412.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.3326, allocations: 24.83 kB / 412.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.333, allocations: 257 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.333, allocations: 11.88 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3331, allocations: 11.98 kB / 413.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.3338, allocations: 277.7 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3338, allocations: 0 / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3338, allocations: 8 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3339, allocations: 4 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.3341, allocations: 75.83 kB / 413.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.3347, allocations: 423.5 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.3353, allocations: 294.1 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.3355, allocations: 108.4 kB / 414.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.3356, allocations: 4 kB / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.3356, allocations: 50.42 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.3356, allocations: 0 / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006135/0.3362, allocations: 213.7 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.3364, allocations: 195.9 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3366, allocations: 182.3 kB / 415 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3367, allocations: 25.7 kB / 415 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.3368, allocations: 116 kB / 415.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3368, allocations: 12.31 kB / 415.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.3369, allocations: 33.7 kB / 415.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3371, allocations: 330.8 kB / 415.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.3372, allocations: 19.98 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3374, allocations: 145.3 kB / 415.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3376, allocations: 157.6 kB / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3377, allocations: 0 / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003178/0.338, allocations: 169.4 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.338, allocations: 7.938 kB / 415.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.338, allocations: 4 kB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3381, allocations: 7.938 kB / 416 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3382, allocations: 35.92 kB / 416 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3382, allocations: 4 kB / 416 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3383, allocations: 19.94 kB / 416 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3383, allocations: 8 kB / 416 MB, free: 9.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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 0.0001386/0.3385, allocations: 141.9 kB / 416.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3388, allocations: 145.4 kB / 416.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.3389, allocations: 17.41 kB / 416.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3389, allocations: 4.234 kB / 416.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3389, allocations: 0 / 416.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3389, allocations: 15.91 kB / 416.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3393, allocations: 221.5 kB / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3393, allocations: 32 / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3394, allocations: 39.97 kB / 416.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3394, allocations: 3.938 kB / 416.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3395, allocations: 8 kB / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3395, allocations: 0 / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3395, allocations: 4 kB / 416.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3399, allocations: 353.2 kB / 417 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3401, allocations: 108.9 kB / 417.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.3401, allocations: 7.984 kB / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3402, allocations: 8 kB / 417.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.3403, allocations: 15.98 kB / 417.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3403, allocations: 8 kB / 417.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3405, allocations: 136.3 kB / 417.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3405, allocations: 0 / 417.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.3408, allocations: 20 kB / 417.3 MB, free: 8.578 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.0008442/0.3416, allocations: 0.9053 MB / 418.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3419, allocations: 111.7 kB / 418.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.342, allocations: 0 / 418.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.342, allocations: 15.98 kB / 418.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.3427, allocations: 106.9 kB / 418.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3455, allocations: 2.081 MB / 420.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3459, allocations: 0.7202 MB / 421.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.875e-05/0.346, allocations: 17.55 kB / 421.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.3461, allocations: 39.42 kB / 421.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3461, allocations: 0 / 421.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.3741, allocations: 3.406 MB / 424.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.777, allocations: 14.72 kB / 424.7 MB, free: 1.078 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1)