Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 180.6 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205 MB / 221.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007269/0.0007271, allocations: 103.9 kB / 269.9 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07845/0.07845, allocations: 12.58 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08889, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001484/0.09044, allocations: 1.214 MB / 442.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.09112, allocations: 0.4958 MB / 442.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.09122, allocations: 4 kB / 442.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.464e-05/0.09128, allocations: 3.938 kB / 442.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.09143, allocations: 11.92 kB / 442.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.09173, allocations: 51.89 kB / 442.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.615e-05/0.09182, allocations: 59.78 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.09193, allocations: 19.97 kB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.09197, allocations: 19.86 kB / 443 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.09203, allocations: 27.8 kB / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.09206, allocations: 0 / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.09208, allocations: 8 kB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.09213, allocations: 11.94 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.09218, allocations: 27.8 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.09227, allocations: 55.95 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.09228, allocations: 0 / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09229, allocations: 0 / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.0923, allocations: 0 / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004401/0.09275, allocations: 379.2 kB / 443.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.09279, allocations: 12.03 kB / 443.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.09286, allocations: 46.64 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.09289, allocations: 8.844 kB / 443.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.09309, allocations: 216.4 kB / 443.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.0931, allocations: 384 / 443.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.09312, allocations: 11.94 kB / 443.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.09334, allocations: 143.5 kB / 443.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.09336, allocations: 0 / 443.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.09337, allocations: 0 / 443.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.09338, allocations: 3.938 kB / 443.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.63e-05/0.09343, allocations: 8 kB / 444 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.0937, allocations: 272.8 kB / 444.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.09376, allocations: 26.58 kB / 444.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.09379, allocations: 8.797 kB / 444.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.0938, allocations: 0 / 444.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.09393, allocations: 63.44 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.09394, allocations: 0 / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001481/0.09409, allocations: 65.59 kB / 444.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.09413, allocations: 55.41 kB / 444.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.09425, allocations: 154.3 kB / 444.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.09426, allocations: 29.7 kB / 444.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.0943, allocations: 88.14 kB / 444.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.09431, allocations: 3.906 kB / 444.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.09434, allocations: 21.7 kB / 444.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.0944, allocations: 314.8 kB / 445 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.09442, allocations: 8 kB / 445 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.09444, allocations: 25.7 kB / 445.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.09448, allocations: 29.72 kB / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09449, allocations: 0 / 445.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.528e-05/0.09456, allocations: 57.53 kB / 445.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.09458, allocations: 4 kB / 445.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.09459, allocations: 4 kB / 445.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.09461, allocations: 4.062 kB / 445.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.09465, allocations: 0 / 445.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.09466, allocations: 11.92 kB / 445.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.09472, allocations: 8 kB / 445.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.09474, allocations: 4 kB / 445.2 MB, free: 11.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.763e-05/0.09481, allocations: 126.6 kB / 445.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.09483, allocations: 7.906 kB / 445.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.09486, allocations: 12.25 kB / 445.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.09487, allocations: 4 kB / 445.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.09488, allocations: 3.938 kB / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.09488, allocations: 0 / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.09513, allocations: 322.7 kB / 445.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.09514, allocations: 4 kB / 445.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.09516, allocations: 11.86 kB / 445.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.09516, allocations: 7.875 kB / 445.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.09517, allocations: 0 / 445.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.09518, allocations: 8 kB / 445.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09519, allocations: 0 / 445.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.205e-05/0.09527, allocations: 155.4 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.09532, allocations: 93 kB / 445.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.09535, allocations: 3.938 kB / 445.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.09543, allocations: 7.984 kB / 445.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.09548, allocations: 8.328 kB / 445.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.09549, allocations: 0 / 445.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.09554, allocations: 116 kB / 446.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09555, allocations: 0 / 446.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.09577, allocations: 8 kB / 446.1 MB, free: 10.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002418/0.09602, allocations: 0.6927 MB / 446.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.0961, allocations: 27.98 kB / 446.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.09611, allocations: 0 / 446.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.09614, allocations: 11.94 kB / 446.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.09642, allocations: 18.66 kB / 446.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.09729, allocations: 1.351 MB / 448.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.09743, allocations: 0.6926 MB / 448.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.743e-05/0.09747, allocations: 11.77 kB / 448.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.09751, allocations: 15.44 kB / 448.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.09751, allocations: 3.938 kB / 448.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.1149, allocations: 1.645 MB / 450.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.1151, allocations: 228 kB / 450.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.729, allocations: 8 kB / 450.8 MB, free: 6.109 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_ForDocumentation_TheDifferentClocks.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)