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.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 223.8 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.288/1.288, allocations: 230.5 MB / 256.4 MB, free: 8.43 MB / 206.1 MB " [Timeout remaining time 179] 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001766/0.001766, allocations: 71.83 kB / 376.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2219, allocations: 53.31 MB / 429.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002838/0.2247, allocations: 1.904 MB / 431.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2258, allocations: 0.7091 MB / 432 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2259, allocations: 4 kB / 432 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.226, allocations: 19.73 kB / 432 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2262, allocations: 27.73 kB / 432.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.2265, allocations: 111.7 kB / 432.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.2267, allocations: 143.6 kB / 432.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2268, allocations: 45.7 kB / 432.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2269, allocations: 59.72 kB / 432.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.723e-05/0.227, allocations: 59.62 kB / 432.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2271, allocations: 16 kB / 432.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.2271, allocations: 20 kB / 432.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.2272, allocations: 23.92 kB / 432.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.2272, allocations: 67.55 kB / 432.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2274, allocations: 143.7 kB / 432.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2274, allocations: 0 / 432.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2274, allocations: 3.984 kB / 432.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2274, allocations: 0 / 432.7 MB, free: 4.047 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.0005627/0.228, allocations: 458.8 kB / 433.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.228, allocations: 16.03 kB / 433.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.2281, allocations: 34.75 kB / 433.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2282, allocations: 32.77 kB / 433.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.2285, allocations: 256.9 kB / 433.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.2285, allocations: 11.94 kB / 433.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.2286, allocations: 8 kB / 433.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2291, allocations: 287.3 kB / 433.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2291, allocations: 0 / 433.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2291, allocations: 4 kB / 433.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2291, allocations: 4 kB / 433.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.2293, allocations: 71.88 kB / 433.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.2298, allocations: 439.4 kB / 434.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.2302, allocations: 282.2 kB / 434.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2304, allocations: 100.2 kB / 434.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2305, allocations: 8 kB / 434.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2305, allocations: 38.56 kB / 434.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.2305, allocations: 3.938 kB / 434.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005161/0.231, allocations: 225.6 kB / 435 MB, free: 1.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.2311, allocations: 191.9 kB / 435.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2313, allocations: 186.8 kB / 435.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2313, allocations: 33.7 kB / 435.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.2314, allocations: 100.5 kB / 435.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.2314, allocations: 15.94 kB / 435.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.2315, allocations: 45.72 kB / 435.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2316, allocations: 322.8 kB / 435.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.2316, allocations: 23.98 kB / 435.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2318, allocations: 139.4 kB / 436 MB, free: 372 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.232, allocations: 178.4 kB / 436.2 MB, free: 140 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.232, allocations: 3.938 kB / 436.2 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002849/0.2323, allocations: 173.2 kB / 436.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2323, allocations: 8 kB / 436.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2323, allocations: 4 kB / 436.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2323, allocations: 8 kB / 436.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2325, allocations: 40.45 kB / 436.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.2325, allocations: 19.81 kB / 436.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.2326, allocations: 19.88 kB / 436.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2326, allocations: 16 kB / 436.5 MB, free: 15.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001139/0.2327, allocations: 129.8 kB / 436.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.233, allocations: 141.5 kB / 436.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.233, allocations: 21.41 kB / 436.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.233, allocations: 0 / 436.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.233, allocations: 11.97 kB / 436.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.233, allocations: 3.984 kB / 436.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.2333, allocations: 221.5 kB / 437 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2333, allocations: 0 / 437 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2334, allocations: 39.97 kB / 437 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2334, allocations: 3.938 kB / 437 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2335, allocations: 8 kB / 437 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2335, allocations: 3.938 kB / 437 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.2335, allocations: 7.938 kB / 437.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.2339, allocations: 357.7 kB / 437.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.2339, allocations: 105 kB / 437.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.234, allocations: 8 kB / 437.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2341, allocations: 11.98 kB / 437.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.2341, allocations: 11.94 kB / 437.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.2341, allocations: 8.172 kB / 437.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.2342, allocations: 136.4 kB / 437.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2342, allocations: 0 / 437.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.2345, allocations: 23.95 kB / 437.7 MB, free: 14.5 MB / 350.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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000812/0.2354, allocations: 0.9628 MB / 438.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.2356, allocations: 115.8 kB / 438.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2356, allocations: 0 / 438.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.2357, allocations: 13.12 kB / 438.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.2363, allocations: 113.4 kB / 438.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.2384, allocations: 2.082 MB / 441 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.2387, allocations: 0.728 MB / 441.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.2388, allocations: 13.55 kB / 441.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.2388, allocations: 43.42 kB / 441.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2388, allocations: 0 / 441.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.2641, allocations: 3.531 MB / 445.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.249, allocations: 15.06 kB / 445.3 MB, free: 6.754 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.23966158300027]