Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger",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.001535/0.001535, allocations: 180.7 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001177/0.001176, allocations: 90.86 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09937/0.09937, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005536, allocations: 12.06 kB / 392.1 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09268, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.2368, allocations: 78.38 MB / 0.5086 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.2371, allocations: 59.98 kB / 0.5087 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005648/0.2428, allocations: 1.364 MB / 0.51 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2428, allocations: 0 / 0.51 GB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.2428, allocations: 0 / 0.51 GB, free: 10.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006312/0.2435, allocations: 371.2 kB / 0.5104 GB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2435, allocations: 8.031 kB / 0.5104 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.2436, allocations: 38.55 kB / 0.5104 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.2437, allocations: 7.906 kB / 0.5104 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.2439, allocations: 186.9 kB / 0.5106 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.244, allocations: 11.95 kB / 0.5106 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.244, allocations: 4 kB / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2444, allocations: 132.9 kB / 0.5107 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2444, allocations: 0 / 0.5107 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2444, allocations: 8 kB / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2444, allocations: 0 / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.2445, allocations: 27.92 kB / 0.5108 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.2451, allocations: 297.7 kB / 0.5111 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2454, allocations: 158.2 kB / 0.5112 GB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2454, allocations: 8.078 kB / 0.5112 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.2456, allocations: 71.58 kB / 0.5113 GB, free: 9.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.2456, allocations: 0 / 0.5113 GB, free: 9.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003596/0.246, allocations: 109.5 kB / 0.5114 GB, free: 9.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.2461, allocations: 85.11 kB / 0.5115 GB, free: 9.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2462, allocations: 108.9 kB / 0.5116 GB, free: 9.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.2463, allocations: 29.7 kB / 0.5116 GB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.2463, allocations: 96.27 kB / 0.5117 GB, free: 8.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.2464, allocations: 19.8 kB / 0.5117 GB, free: 8.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.2464, allocations: 4 kB / 0.5117 GB, free: 8.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2466, allocations: 322.8 kB / 0.512 GB, free: 8.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.2466, allocations: 23.94 kB / 0.5121 GB, free: 8.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2468, allocations: 65.98 kB / 0.5121 GB, free: 8.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/0.2469, allocations: 32 kB / 0.5122 GB, free: 8.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2469, allocations: 0 / 0.5122 GB, free: 8.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003166/0.2472, allocations: 121.4 kB / 0.5123 GB, free: 8.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2473, allocations: 4 kB / 0.5123 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2473, allocations: 0 / 0.5123 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2473, allocations: 4 kB / 0.5123 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.2474, allocations: 4.156 kB / 0.5123 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2474, allocations: 11.94 kB / 0.5123 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2475, allocations: 15.98 kB / 0.5123 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2476, allocations: 4 kB / 0.5123 GB, free: 8.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.2477, allocations: 129.5 kB / 0.5124 GB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2478, allocations: 53.62 kB / 0.5125 GB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.2479, allocations: 8.375 kB / 0.5125 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2479, allocations: 4 kB / 0.5125 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2479, allocations: 0 / 0.5125 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.248, allocations: 8.266 kB / 0.5125 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.2485, allocations: 342.4 kB / 0.5128 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2485, allocations: 0 / 0.5128 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.2485, allocations: 4.312 kB / 0.5128 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.2485, allocations: 3.984 kB / 0.5128 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2486, allocations: 11.98 kB / 0.5128 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2486, allocations: 0 / 0.5128 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2486, allocations: 3.938 kB / 0.5129 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.2489, allocations: 214 kB / 0.5131 GB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.249, allocations: 81.02 kB / 0.5131 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.249, allocations: 8 kB / 0.5131 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2492, allocations: 7.984 kB / 0.5131 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.2492, allocations: 4 kB / 0.5132 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2493, allocations: 15.94 kB / 0.5132 GB, free: 7.289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.2493, allocations: 87.22 kB / 0.5133 GB, free: 7.203 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2494, allocations: 4 kB / 0.5133 GB, free: 7.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.2497, allocations: 16 kB / 0.5133 GB, free: 7.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007789/0.2505, allocations: 0.8383 MB / 0.5141 GB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.2507, allocations: 67.84 kB / 0.5142 GB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2508, allocations: 0 / 0.5142 GB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.2508, allocations: 23.98 kB / 0.5142 GB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.2512, allocations: 35.62 kB / 0.5142 GB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2529, allocations: 1.462 MB / 0.5156 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2533, allocations: 0.6965 MB / 0.5163 GB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.2534, allocations: 8.422 kB / 0.5163 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.2535, allocations: 27.44 kB / 0.5164 GB, free: 3.891 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.2535, allocations: 0 / 0.5164 GB, free: 3.891 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.277, allocations: 1.777 MB / 0.5181 GB, free: 2.129 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.2774, allocations: 223.7 kB / 0.5183 GB, free: 1.871 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.593, allocations: 4 kB / 0.5183 GB, free: 1.867 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedBooleanToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)