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.SampleClocked.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.00118/0.00118, 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.001332/0.001332, allocations: 223.4 kB / 22.93 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.275/1.275, allocations: 230.5 MB / 256.4 MB, free: 8.418 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001813/0.001813, allocations: 71.83 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2136, allocations: 53.31 MB / 429.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002514/0.2161, allocations: 1.577 MB / 431 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.217, allocations: 0.5453 MB / 431.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.2171, allocations: 0 / 431.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.2171, allocations: 3.938 kB / 431.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2172, allocations: 19.86 kB / 431.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.2175, allocations: 47.83 kB / 431.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2176, allocations: 35.86 kB / 431.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.2176, allocations: 19.97 kB / 431.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.2177, allocations: 27.88 kB / 431.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.2178, allocations: 19.86 kB / 431.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2178, allocations: 0 / 431.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.2178, allocations: 8 kB / 431.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.2179, allocations: 11.98 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.2179, allocations: 27.8 kB / 431.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.218, allocations: 55.12 kB / 431.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.218, allocations: 0 / 431.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.218, allocations: 0 / 431.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.2181, allocations: 4 kB / 431.8 MB, free: 5.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004465/0.2185, allocations: 372.1 kB / 432.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2185, allocations: 8.031 kB / 432.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.2186, allocations: 34.75 kB / 432.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2187, allocations: 16.88 kB / 432.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.2189, allocations: 203.2 kB / 432.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-06/0.2189, allocations: 384 / 432.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2189, allocations: 8.375 kB / 432.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.2191, allocations: 93.17 kB / 432.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2192, allocations: 0 / 432.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.2192, allocations: 0 / 432.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2192, allocations: 0 / 432.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.2192, allocations: 23.97 kB / 432.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.2195, allocations: 273.6 kB / 432.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.2196, allocations: 37.2 kB / 432.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.2197, allocations: 25.78 kB / 432.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2197, allocations: 4 kB / 432.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2197, allocations: 38.48 kB / 432.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2197, allocations: 0 / 432.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.2199, allocations: 69.58 kB / 433 MB, free: 3.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.22, allocations: 81.05 kB / 433.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2201, allocations: 146.3 kB / 433.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2201, allocations: 29.7 kB / 433.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.2202, allocations: 84.14 kB / 433.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.2202, allocations: 0 / 433.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.2202, allocations: 25.66 kB / 433.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2203, allocations: 318.8 kB / 433.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.2204, allocations: 11.98 kB / 433.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.2204, allocations: 17.72 kB / 433.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.2205, allocations: 33.64 kB / 433.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2205, allocations: 0 / 433.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.2206, allocations: 49.69 kB / 433.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2206, allocations: 7.984 kB / 433.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2206, allocations: 4.125 kB / 433.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2206, allocations: 4 kB / 433.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.2207, allocations: 4 kB / 433.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2207, allocations: 7.922 kB / 433.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.2207, allocations: 4 kB / 433.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2207, allocations: 0 / 433.8 MB, free: 2.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.34e-05/0.2208, allocations: 121.8 kB / 433.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.2209, allocations: 37.66 kB / 434 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2209, allocations: 19.84 kB / 434 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2209, allocations: 4 kB / 434 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2209, allocations: 0 / 434 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2209, allocations: 0 / 434 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2211, allocations: 177.5 kB / 434.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2211, allocations: 0 / 434.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.2211, allocations: 4 kB / 434.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2211, allocations: 0 / 434.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2211, allocations: 0 / 434.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2211, allocations: 0 / 434.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2212, allocations: 7.938 kB / 434.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.2213, allocations: 160.3 kB / 434.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.2214, allocations: 93.05 kB / 434.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2214, allocations: 4 kB / 434.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.2215, allocations: 0 / 434.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.2215, allocations: 7.984 kB / 434.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2215, allocations: 3.938 kB / 434.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.2216, allocations: 109.7 kB / 434.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2216, allocations: 0 / 434.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.2218, allocations: 4 kB / 434.5 MB, free: 1.898 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004325/0.2222, allocations: 0.7014 MB / 435.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.2223, allocations: 23.98 kB / 435.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2223, allocations: 0 / 435.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.2224, allocations: 15.92 kB / 435.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2226, allocations: 12.03 kB / 435.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2238, allocations: 1.318 MB / 436.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2241, allocations: 0.6885 MB / 437.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.2242, allocations: 0 / 437.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.2242, allocations: 15.47 kB / 437.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2242, allocations: 7.938 kB / 437.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.2458, allocations: 1.464 MB / 438.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.128, allocations: 18 kB / 438.8 MB, free: 13.58 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.177411867996852]