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.001013/0.001013, allocations: 172.4 kB / 16.14 MB, free: 5.656 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.452/1.452, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0007173/0.0007174, allocations: 96.8 kB / 270.7 MB, free: 8.238 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.07114/0.07114, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 8 kB / 392.8 MB, free: 65.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08552, allocations: 50.38 MB / 443.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001849/0.08742, allocations: 1.211 MB / 444.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.08858, allocations: 495.7 kB / 444.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.08875, allocations: 0 / 444.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.08886, allocations: 7.922 kB / 444.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.0891, allocations: 7.938 kB / 444.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.08958, allocations: 55.88 kB / 444.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.08971, allocations: 63.8 kB / 445 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.08984, allocations: 19.97 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.08989, allocations: 11.88 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.08996, allocations: 31.78 kB / 445 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.08999, allocations: 0 / 445 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.09001, allocations: 4 kB / 445 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.09008, allocations: 15.92 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.09014, allocations: 49.52 kB / 445.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.09026, allocations: 55.95 kB / 445.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09027, allocations: 0 / 445.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.09028, allocations: 7.984 kB / 445.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.09029, allocations: 0 / 445.2 MB, free: 13.29 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.0005437/0.09084, allocations: 379.2 kB / 445.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.0909, allocations: 8.031 kB / 445.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.972e-05/0.09098, allocations: 42.66 kB / 445.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.09103, allocations: 12.78 kB / 445.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.09124, allocations: 216.4 kB / 445.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.09127, allocations: 4.375 kB / 445.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.09129, allocations: 15.94 kB / 445.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.09153, allocations: 127.6 kB / 445.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.09155, allocations: 4 kB / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.09157, allocations: 0 / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.09158, allocations: 3.938 kB / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.09163, allocations: 15.92 kB / 446 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.09196, allocations: 264.8 kB / 446.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.09203, allocations: 26.58 kB / 446.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.09206, allocations: 12.84 kB / 446.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.09208, allocations: 4.062 kB / 446.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.09221, allocations: 63.31 kB / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.09222, allocations: 0 / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001652/0.09239, allocations: 65.59 kB / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.09244, allocations: 55.39 kB / 446.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.09255, allocations: 146.4 kB / 446.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.09257, allocations: 33.7 kB / 446.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.09261, allocations: 92.12 kB / 446.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.09262, allocations: 7.906 kB / 446.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.09263, allocations: 4 kB / 446.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.09269, allocations: 314.8 kB / 447 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.09272, allocations: 8 kB / 447 MB, free: 11.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.09275, allocations: 25.66 kB / 447.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.09279, allocations: 29.73 kB / 447.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.09283, allocations: 0 / 447.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.971e-05/0.09292, allocations: 65.53 kB / 447.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.09295, allocations: 4.938 kB / 447.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.09296, allocations: 0 / 447.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.09298, allocations: 4 kB / 447.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.09302, allocations: 0 / 447.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.09303, allocations: 3.938 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.0931, allocations: 8 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.09312, allocations: 8.016 kB / 447.2 MB, free: 10.99 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 7.624e-05/0.0932, allocations: 122.7 kB / 447.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.09321, allocations: 7.906 kB / 447.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.09325, allocations: 12.23 kB / 447.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.09326, allocations: 0 / 447.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.09327, allocations: 3.938 kB / 447.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.09327, allocations: 128 / 447.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.09354, allocations: 334.5 kB / 447.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.09356, allocations: 7.938 kB / 447.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-06/0.09357, allocations: 3.938 kB / 447.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.09358, allocations: 3.938 kB / 447.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.09359, allocations: 0 / 447.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.0936, allocations: 0 / 447.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0936, allocations: 0 / 447.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.0937, allocations: 163.3 kB / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.09375, allocations: 89 kB / 447.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.09377, allocations: 12.25 kB / 447.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.09386, allocations: 8 kB / 447.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.09391, allocations: 7.984 kB / 447.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.09392, allocations: 0 / 447.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.09398, allocations: 111.2 kB / 448.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09398, allocations: 0 / 448.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.09419, allocations: 12 kB / 448.1 MB, free: 10.01 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.0002618/0.09446, allocations: 0.6889 MB / 448.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.098e-05/0.09455, allocations: 23.98 kB / 448.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.09456, allocations: 0 / 448.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.0946, allocations: 15.94 kB / 448.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.09489, allocations: 21.36 kB / 448.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.09588, allocations: 1.345 MB / 450.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.09602, allocations: 0.7004 MB / 450.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.09606, allocations: 7.781 kB / 450.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.09611, allocations: 19.44 kB / 450.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09611, allocations: 3.938 kB / 450.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.1089, allocations: 1.647 MB / 452.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.1091, allocations: 231.8 kB / 452.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.686, allocations: 3.938 kB / 452.8 MB, free: 5.133 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)